fix fancy indexer for user.envs.tld

This commit is contained in:
creme 2021-08-04 13:43:32 +00:00
parent 6c32cbcb8a
commit 78a076f54b
1 changed files with 3 additions and 2 deletions

View File

@ -7,10 +7,11 @@ ssi on;
error_page 404 /404.html;
fancyindex on;
fancyindex_exact_size off;
location / {
try_files $uri $uri.html $uri/ @extensionless-php;
fancyindex on;
fancyindex_exact_size off;
}
location @extensionless-php {
rewrite ^(.*)$ $1.php last;