mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
nginx disable_symlinks fix
This commit is contained in:
parent
e4b95c9aca
commit
0f7ea97e12
2 changed files with 2 additions and 4 deletions
|
@ -55,10 +55,6 @@ http {
|
|||
gzip_proxied any;
|
||||
|
||||
|
||||
# Symlinks protection
|
||||
disable_symlinks if_not_owner;
|
||||
|
||||
|
||||
# Proxy settings
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -28,6 +28,8 @@ server {
|
|||
location ~ /\.hg/ {return 404;}
|
||||
location ~ /\.bzr/ {return 404;}
|
||||
|
||||
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