fix: Try adding index.html to try files
This commit is contained in:
parent
084a161e80
commit
072d7c7b58
4
sites.py
4
sites.py
@ -169,7 +169,7 @@ def write_nginx_conf(site):
|
||||
server_name {domain} *.{domain};
|
||||
|
||||
location / {{
|
||||
try_files \$uri \$uri/ @htmlext;
|
||||
try_files \$uri \$uri/ $uri/index.html @htmlext;
|
||||
}}
|
||||
|
||||
location ~ \.html$ {{
|
||||
@ -205,7 +205,7 @@ def write_nginx_conf(site):
|
||||
server_name {alt} *.{alt};
|
||||
|
||||
location / {{
|
||||
try_files \$uri \$uri/ @htmlext;
|
||||
try_files \$uri \$uri/ $uri/index.html @htmlext;
|
||||
}}
|
||||
|
||||
location ~ \.html$ {{
|
||||
|
Loading…
Reference in New Issue
Block a user