Removal of directory index for /downloads
This commit is contained in:
@@ -33,11 +33,6 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /downloads {
|
|
||||||
autoindex on;
|
|
||||||
autoindex_exact_size off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /board {
|
location /board {
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
try_files $uri $uri/ @rewriteapp;
|
try_files $uri $uri/ @rewriteapp;
|
||||||
|
|||||||
@@ -33,11 +33,6 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /downloads {
|
|
||||||
autoindex on;
|
|
||||||
autoindex_exact_size off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /board {
|
location /board {
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
try_files $uri $uri/ @rewriteapp;
|
try_files $uri $uri/ @rewriteapp;
|
||||||
|
|||||||
Reference in New Issue
Block a user