library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes so that it requests tokens for the port 80 even when we redirect to https.
This commit is contained in:
parent
94672dbdb9
commit
9d79eaa89a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue