Browse Source

Error codes

Alexandros Ioannides 6 years ago
parent
commit
13628c9b2c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/deb/nginx/nginx.conf

+ 3 - 3
src/deb/nginx/nginx.conf

@@ -102,9 +102,9 @@ http {
         ssl_certificate      /usr/local/hestia/ssl/certificate.crt;
         ssl_certificate_key  /usr/local/hestia/ssl/certificate.key;
 
-        error_page      404     /error/404/index.html;
-        error_page      403     /error/index.html;
-        error_page      500     /error/index.html;
+        error_page 403 /error/404/index.html;
+        error_page 404 /error/404/index.html;
+        error_page 500 501 502 503 504 505 /error/index.html;
 
         location / {
             expires off;