X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fnginx_www_server.j2;h=1000490f60466cdff874041f45b2bd468e429e7c;hb=d2ef9c4c99e81dc58f3d4346c362eae2c4d7915b;hp=68b7502fad01dbbed39673b720d1c7dcd42a1a1e;hpb=058c0e0c1ce6fc1fb225fceb18cc8898f9a2a063;p=lhc%2Fansible.git diff --git a/templates/nginx_www_server.j2 b/templates/nginx_www_server.j2 index 68b7502..1000490 100644 --- a/templates/nginx_www_server.j2 +++ b/templates/nginx_www_server.j2 @@ -4,7 +4,7 @@ server { 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; {% if ssl_ready is defined and ssl_ready %} - return 301 https://{{ DOMAIN }}.{{ TLD }}$request_uri; + return 301 https://{{ config_ss_domain }}.{{ DOMAIN }}.{{ TLD }}$request_uri; } server { listen 443 ssl;