Properly return 404 when the file does not exist.
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Nick Douma 2021-11-09 19:43:57 +01:00
parent 70a50ca1c2
commit f18d63f76d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ http {
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /;
try_files $uri $uri/ =404;
index index.html index.htm;
}