mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 22:34:05 -07:00
Update hosting.tpl
This commit is contained in:
parent
1e088ca883
commit
8c20f4d209
1 changed files with 1 additions and 7 deletions
|
@ -22,14 +22,8 @@ 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;}
|
|
||||||
|
|
||||||
disable_symlinks if_not_owner from=%docroot%;
|
disable_symlinks if_not_owner from=%docroot%;
|
||||||
|
|
||||||
include %home%/%user%/conf/web/nginx.%domain%.conf*;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue