Allow prettier URLs for root files
This commit is contained in:
parent
2e731c06ee
commit
3cea0a77c9
@ -5,7 +5,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri.html $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
# redirect server error pages to a static page
|
# redirect server error pages to a static page
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user