mirror of https://git.envs.net/envs/ops.git
fix fancy indexer for user.envs.tld
This commit is contained in:
parent
6c32cbcb8a
commit
78a076f54b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue