diff --git a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 index fe2a3c2..3420adb 100644 --- a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 +++ b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 @@ -352,7 +352,7 @@ server { {% if smartgears_special_redirect is defined %} {% for target in smartgears_special_redirect %} location {{ target.source_uri }} { - return 301 http://{{ target.dest_host }}/{{ target.dest_url }}; + return 301 https://{{ target.dest_host }}/{{ target.dest_url }}; } {% endfor %} {% endif %}