Removed depreciated SSL, duplicate location / entry
This commit is contained in:
@@ -50,11 +50,6 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
# Block accidental directory listing
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
# Instructs visitor browser to cache files for 1 month
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
|
||||
expires 1M;
|
||||
|
||||
Reference in New Issue
Block a user