fix nginx.conf (should attempt to serve request as file, then as directory)

This commit is contained in:
Dawid Wysokiński 2020-07-15 13:00:07 +02:00
parent 9a3bbde7f0
commit 06b367ed06

View File

@ -51,7 +51,7 @@ http {
location / {
# First attempt to serve request as file, then
# as directory, then fall back to redirecting to index.html
try_files $uri $uri/ /index.html;
try_files $uri $uri/ =404;
}
# Any route containing a file extension (e.g. /devicesfile.js)