Skip to content

Commit 6087fa0

Browse files
Temporary addition of error code
1 parent c4c10ba commit 6087fa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/deb/nginx/nginx.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ http {
8787

8888
error_page 403 /error/404/index.html;
8989
error_page 404 /error/404/index.html;
90+
error_page 410 /error/404/index.html
9091
error_page 500 501 502 503 504 505 /error/index.html;
9192

9293
# Vhost
@@ -96,7 +97,7 @@ http {
9697
root /usr/local/hestia/web;
9798

9899
# Fix error "The plain HTTP request was sent to HTTPS port"
99-
error_page 497 https://$host:$server_port$request_uri;
100+
error_page 497 https://$host:$server_port$request_uri;
100101

101102
ssl_certificate /usr/local/hestia/ssl/certificate.crt;
102103
ssl_certificate_key /usr/local/hestia/ssl/certificate.key;

0 commit comments

Comments
 (0)