X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fnginx_http_server.j2;h=e7aa0e02fb2346d40c40e06bde6311f5a546e9f7;hb=HEAD;hp=67c6aafe7bae055c7c11c65992796d5d8b6e9339;hpb=2699f86f39187494974c5a1a5c4ad22b584e2e67;p=lhc%2Fansible.git diff --git a/templates/nginx_http_server.j2 b/templates/nginx_http_server.j2 index 67c6aaf..3a39aa5 100644 --- a/templates/nginx_http_server.j2 +++ b/templates/nginx_http_server.j2 @@ -2,7 +2,7 @@ server { listen 80; server_name {{ config_ss_domain | default(SITE) }}.{{ DOMAIN }}.{{ TLD }}; disable_symlinks if_not_owner; - access_log /home/sites/log/nginx/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/access.log main buffer=32k; - error_log /home/sites/log/nginx/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/error.log warn; + access_log /home/sites/log/nginx/{{ TLD }}/{{ DOMAIN }}/{{ config_ss_domain }}/access.log main buffer=32k; + error_log /home/sites/log/nginx/{{ TLD }}/{{ DOMAIN }}/{{ config_ss_domain }}/error.log warn; root /home/sites/data/{{TLD }}/{{ DOMAIN }}/{{SITE }}/; } \ No newline at end of file