cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Offer custom 404.html / 50x.html pages #297

Open m4dz opened 7 years ago

m4dz commented 7 years ago

Error pages, like 404 or 50x pages, should be served directly by the frontend web server (nginx, caddy, apache), so Cozy apps have just to send 404/50x status code that can be catched.

Proxy is always installed in Cozy plateforms, I so suggest that it embed in its assets those error pages (with inlined styles / scripts if needed). We must also provide configuration exemples for aforemetioned mainstream webservers , that points to those pages in the FS, to catch those status errors.