add 404 for unknown files
All checks were successful
/ docker (push) Successful in 1m40s

This commit is contained in:
Lee 2023-07-05 01:01:54 +01:00
parent 1770795f16
commit b6fd907373

View File

@ -39,7 +39,7 @@ http {
expires 7d;
# Serve the file directly from disk
try_files $uri $uri/;
try_files $uri $uri/ =404;
}
}
}