Skip to content

Commit 56994d3

Browse files
committed
Force the lookup of html files.
1 parent fce5409 commit 56994d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/etc/nginx/conf.d/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server {
55
location / {
66
root /usr/share/nginx/html;
77
index index.html index.htm;
8-
try_files $uri $uri/ /index.html;
8+
try_files $uri $uri/ $uri.html $uri/index.html /index.html;
99
}
1010

1111
# redirect server error pages to the static page /50x.html

0 commit comments

Comments
 (0)