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;
|
port_in_redirect off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue