Add .html to uri in nginx
This commit is contained in:
parent
24d730631b
commit
36238a8e87
@ -17,7 +17,7 @@ http {
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ =404;
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
}
|
||||
|
||||
location /error_page.html {
|
||||
|
Loading…
Reference in New Issue
Block a user