Skip to content

Commit 1695a86

Browse files
authored
fix: ensure proper fallback for missing files in nginx configuration (#76)
1 parent 662965e commit 1695a86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ http {
4646
root /usr/share/nginx/html;
4747
# First attempt to serve request as file, then
4848
# as directory, then fall back to redirecting to index.html
49-
try_files /index.html;
49+
try_files /index.html =404;
5050
}
5151

5252
location / {

0 commit comments

Comments
 (0)