X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fnginx_paheko_server.j2;h=e522e3ecf2a64e8ea65f6969095f75feea6cc2d6;hb=d2ef9c4c99e81dc58f3d4346c362eae2c4d7915b;hp=a6b44a055e218527bffca0b68d89f8bcacb23731;hpb=058c0e0c1ce6fc1fb225fceb18cc8898f9a2a063;p=lhc%2Fansible.git diff --git a/templates/nginx_paheko_server.j2 b/templates/nginx_paheko_server.j2 index a6b44a0..e522e3e 100644 --- a/templates/nginx_paheko_server.j2 +++ b/templates/nginx_paheko_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://{{ SITE }}.{{ DOMAIN }}.{{ TLD }}$request_uri; + return 301 https://{{ config_ss_domain }}.{{ DOMAIN }}.{{ TLD }}$request_uri; } server { listen 443;