1
Fork 0

Correctly use 404 definition

This commit is contained in:
Jake Howard 2024-06-08 14:20:59 +01:00
parent 6eb85cc932
commit c516350eb2
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -23,7 +23,11 @@ server {
index index.html;
try_files $uri $uri/ =404;
error_page 403 =404 /404.html;
# Show 403 as 404
error_page 403 =404;
# Custom 404
error_page 404 /404.html;
# Kick malicious clients sooner
client_header_timeout 10s;