diff --git a/etc/nginx/vhost.in b/etc/nginx/vhost.in index f92689f5..6f79a41f 100644 --- a/etc/nginx/vhost.in +++ b/etc/nginx/vhost.in @@ -52,12 +52,12 @@ server { error_page 404 /404.html; location /404.html { - root __PREFIX__/static; + root __PREFIX__/static/html; } # redirect server error pages to the static page /50x.html error_page 500 502 503 504 /50x.html; location /50x.html { - root __PREFIX__/static; + root __PREFIX__/static/html; } } diff --git a/static/404.html b/static/html/404.html similarity index 100% rename from static/404.html rename to static/html/404.html diff --git a/static/50x.html b/static/html/50x.html similarity index 83% rename from static/50x.html rename to static/html/50x.html index 8043b950..76ea6c2a 100644 --- a/static/50x.html +++ b/static/html/50x.html @@ -6,14 +6,13 @@ - +
We will be back in a moment.