|
|
@@ -87,6 +87,7 @@ http {
|
|
|
|
|
|
error_page 403 /error/404/index.html;
|
|
|
error_page 404 /error/404/index.html;
|
|
|
+ error_page 410 /error/404/index.html
|
|
|
error_page 500 501 502 503 504 505 /error/index.html;
|
|
|
|
|
|
# Vhost
|
|
|
@@ -96,7 +97,7 @@ http {
|
|
|
root /usr/local/hestia/web;
|
|
|
|
|
|
# Fix error "The plain HTTP request was sent to HTTPS port"
|
|
|
- error_page 497 https://$host:$server_port$request_uri;
|
|
|
+ error_page 497 https://$host:$server_port$request_uri;
|
|
|
|
|
|
ssl_certificate /usr/local/hestia/ssl/certificate.crt;
|
|
|
ssl_certificate_key /usr/local/hestia/ssl/certificate.key;
|