X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=templates%2Fnginx_www_common.j2;h=0c424a84ef37f8314fc80a2d8c12023444012eea;hb=d9743190e260a4dda455579bbf6e893fde310c58;hp=831a7396a4db4e70a48b932592d23dd8112de778;hpb=e98d8ba105eab6a1a8c65574923be9f00f124b0b;p=lhc%2Fansible.git diff --git a/templates/nginx_www_common.j2 b/templates/nginx_www_common.j2 index 831a739..0c424a8 100644 --- a/templates/nginx_www_common.j2 +++ b/templates/nginx_www_common.j2 @@ -1,6 +1,6 @@ server_name {{ DOMAIN }}.{{ TLD }} {{ config_ss_domain | default(SITE) }}.{{ DOMAIN }}.{{ TLD }}; {# semble ne pas être nécessaire rewrite ^/(.*) http://{{ config_ss_domain | default(SITE) }}.{{ DOMAIN }}.{{ TLD }}/$1 permanent; #} -root /home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/; +root /home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ config_ss_domain }}/; index index.html; client_body_buffer_size 8k;