mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-12-26 05:55: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:
commit
6c1abc0547
@ -23,7 +23,7 @@ http {
|
||||
port_in_redirect off;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user