Allow prettier URLs for root files

This commit is contained in:
Daniel_I_Am 2022-05-26 12:01:50 +02:00
parent 2e731c06ee
commit 3cea0a77c9

View File

@ -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