1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-26 14:05:24 +00:00

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

View File

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