File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,6 @@ http {
8585 add_header X-Frame-Options SAMEORIGIN;
8686 add_header X-Content-Type-Options nosniff;
8787
88- error_page 403 /error/404 .html;
89- error_page 404 /error/404 .html;
90- error_page 410 /error/410 .html;
91- error_page 500 501 502 503 504 505 /error/50x .html;
92-
9388 # Vhost
9489 server {
9590 listen 8083 ssl ;
@@ -98,6 +93,10 @@ http {
9893
9994 # Fix error "The plain HTTP request was sent to HTTPS port"
10095 error_page 497 https://$host :$server_port$request_uri ;
96+ error_page 403 /error/404 .html;
97+ error_page 404 /error/404 .html;
98+ error_page 410 /error/410 .html;
99+ error_page 500 501 502 503 504 505 /error/50x .html;
101100
102101 ssl_certificate /usr/local/hestia/ssl /certificate.crt;
103102 ssl_certificate_key /usr/local/hestia/ssl /certificate.key;
You can’t perform that action at this time.
0 commit comments