Browse Source

Remove Unwated Tabs

old-stable
Mitesh Shah 11 years ago
parent
commit
930bb6f817
  1. 14
      etc/nginx/common/locations.conf

14
etc/nginx/common/locations.conf

@ -15,9 +15,9 @@ location = /robots.txt {
# Cache Static Files For As Long As Possible # 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)$ { 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; access_log off;
log_not_found off; log_not_found off;
expires max; expires max;
} }
@ -44,15 +44,15 @@ location /ee/ {
# PMA Settings # PMA Settings
location /pma { location /pma {
rewrite ^/* /ee/pma last; rewrite ^/* /ee/pma last;
} }
location /phpMyAdmin { location /phpMyAdmin {
rewrite ^/* /ee/pma last; rewrite ^/* /ee/pma last;
} }
location /phpmyadmin { 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) # Return 403 Forbidden For readme.(txt|html) or license.(txt|html)
if ($request_uri ~* "^.+(readme|license)\.(txt|html)$") { if ($request_uri ~* "^.+(readme|license)\.(txt|html)$") {
return 403; return 403;
} }

Loading…
Cancel
Save