|
|
@ -15,9 +15,9 @@ location = /robots.txt { |
|
|
|
|
|
|
|
# Cache Static Files For As Long As Possible |
|
|
|
location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { |
|
|
|
access_log off; |
|
|
|
log_not_found off; |
|
|
|
expires max; |
|
|
|
access_log off; |
|
|
|
log_not_found off; |
|
|
|
expires max; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -44,15 +44,15 @@ location /ee/ { |
|
|
|
|
|
|
|
# PMA Settings |
|
|
|
location /pma { |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
} |
|
|
|
|
|
|
|
location /phpMyAdmin { |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
} |
|
|
|
|
|
|
|
location /phpmyadmin { |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
rewrite ^/* /ee/pma last; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -94,5 +94,5 @@ location ~* ^.+\.(bak|log|old|orig|original|php#|php~|php_bak|save|swo|swp)$ { |
|
|
|
|
|
|
|
# Return 403 Forbidden For readme.(txt|html) or license.(txt|html) |
|
|
|
if ($request_uri ~* "^.+(readme|license)\.(txt|html)$") { |
|
|
|
return 403; |
|
|
|
return 403; |
|
|
|
} |
|
|
|