diff --git a/smartgears/smartgears/templates/get-scopes.j2 b/smartgears/smartgears/templates/get-scopes.j2 index 70a74d1e..c8d4271d 100644 --- a/smartgears/smartgears/templates/get-scopes.j2 +++ b/smartgears/smartgears/templates/get-scopes.j2 @@ -56,20 +56,14 @@ elif [ $# -eq 1 ] ; then fi {%if setup_nginx %} -{%if https_port is defined %} -{% if http_redirect_to_https is defined and http_redirect_to_https %} -HTTP_PORT={{ https_port }} -{% else %} HTTP_PORT={{ http_port }} -{% endif %} {% else %} {%if http_port is defined %} HTTP_PORT={{ http_port }} -{% endif %} -{% endif %} {% else %} HTTP_PORT={{ item.http_port }} {% endif %} +{% endif %} if [ $USE_SAVED_STATE -ne 0 ] ; then logger "$LOG_PREFIX First installation or moving avay to a configuration that needs to be present on all the VREs. Using our scopes list and not the state memorized one"