Skip to content

Commit 2ddad72

Browse files
committed
fix: nginx redirect to 404
1 parent f087a49 commit 2ddad72

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

nginx/nginx.conf

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ http {
3434
add_header Cache-Control "public";
3535
}
3636

37-
# Any route containing a file extension (e.g. /devicesfile.js)
38-
location ~ ^.+\..+$ {
39-
try_files $uri =404;
40-
}
41-
4237
# Any route that doesn't have a file extension (e.g. /devices)
4338
location / {
4439
try_files $uri $uri/ /index.html;

0 commit comments

Comments
 (0)