Merge pull request #51 from zachahn/patch-1

Respond with a 404 when the file doesn't exist
This commit is contained in:
Jose Diaz-Gonzalez 2021-12-02 22:47:33 -05:00 committed by GitHub
commit 6c1abc0547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ http {
port_in_redirect off;
location / {
try_files $uri $uri/ /index.html;
try_files $uri $uri/ =404;
}
}
}