This commit is contained in:
Steffen Illium
2023-12-24 11:58:37 +01:00
committed by Steffen Illium
parent 83cbd2749b
commit 04c163e590

View File

@@ -17,12 +17,12 @@ server {
add_header Cache-Control "public, no-transform"; add_header Cache-Control "public, no-transform";
} }
error_page 404 /404.html; error_page 404 /404.html;
location = /404.html { location = /404.html {
root /usr/share/nginx/html; root /usr/share/nginx/html;
} }
# redirect server error pages to the static page /50x.html # redirect server error pages to the static page /50x.html
# #
#error_page 500 502 503 504 /50x.html; #error_page 500 502 503 504 /50x.html;