File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,9 @@ http {
8585 add_header X-Frame-Options SAMEORIGIN;
8686 add_header X-Content-Type-Options nosniff;
8787
88- # Error pages
89- error_page 403 /error/403 .html;
90- error_page 404 /error/404 .html;
91- error_page 502 503 504 /error/50x .html;
88+ error_page 403 /error/404 /index .html;
89+ error_page 404 /error/404 /index .html;
90+ error_page 500 501 502 503 504 505 /error/index .html;
9291
9392 # Vhost
9493 server {
@@ -102,10 +101,6 @@ http {
102101 ssl_certificate /usr/local/hestia/ssl /certificate.crt;
103102 ssl_certificate_key /usr/local/hestia/ssl /certificate.key;
104103
105- error_page 403 /error/404 /index .html;
106- error_page 404 /error/404 /index .html;
107- error_page 500 501 502 503 504 505 /error/index .html;
108-
109104 location / {
110105 expires off;
111106 index index .php;
You can’t perform that action at this time.
0 commit comments