@@ -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*;
}