> Linux服务器 > nginx >

nginx忽略.svn和.git

1
location ~ ^(.*)/\.(svn|git)/ {
2
        deny all;
3
}
(责任编辑:IT)