Update caching.tpl

This commit is contained in:
zbuse 2014-02-06 23:54:09 +08:00
commit cb5cc89de2

View file

@ -31,11 +31,5 @@ server {
proxy_pass http://%ip%:%web_port%; proxy_pass http://%ip%:%web_port%;
} }
location ~ /\.ht {return 404;} location ~ .*\.(mp3|ftpquota|htaccess|svn|ht|git|hg|bzr)?\$ {deny all;}
location ~ /\.svn/ {return 404;}
location ~ /\.git/ {return 404;}
location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*;
} }