mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 22:34:05 -07:00
remove include
remove include %home%/%user%/conf/nginx.%domain%.conf*;
This commit is contained in:
parent
a856fed4ac
commit
41022f1c26
1 changed files with 2 additions and 8 deletions
|
@ -31,11 +31,5 @@ server {
|
|||
proxy_pass http://%ip%:%web_port%;
|
||||
}
|
||||
|
||||
location ~ /\.ht {return 404;}
|
||||
location ~ /\.svn/ {return 404;}
|
||||
location ~ /\.git/ {return 404;}
|
||||
location ~ /\.hg/ {return 404;}
|
||||
location ~ /\.bzr/ {return 404;}
|
||||
|
||||
include %home%/%user%/conf/nginx.%domain%.conf*;
|
||||
location ~ .*\.(mp3|ftpquota|htaccess|svn|ht|git|hg|bzr)?\$ {deny all;}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue