fix nginx.conf (should attempt to serve request as file, then as directory)
This commit is contained in:
parent
9a3bbde7f0
commit
06b367ed06
|
@ -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)
|
||||
|
|
Reference in New Issue
Block a user