1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-08-30 14:04:23 +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

View File

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