Skip to content
Snippets Groups Projects
Commit 0961df7d authored by ale's avatar ale
Browse files

Fix clause for https no-proxy backends

parent 7150ec7e
No related branches found
No related tags found
No related merge requests found
Pipeline #90384 passed
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
location {{ pe_config.path }} { location {{ pe_config.path }} {
include /etc/nginx/snippets/block.conf; include /etc/nginx/snippets/block.conf;
include /etc/nginx/snippets/proxy.conf; include /etc/nginx/snippets/proxy.conf;
{% if not upstream.enable_sso_proxy and not upstream.enable_api_proxy and not pe_config.get('scheme', 'https') == 'https' %} {% if not upstream.enable_sso_proxy and not upstream.enable_api_proxy and pe_config.get('scheme', 'https') == 'https' %}
proxy_pass https://{{ pe_config.float_upstream_name }}{% if upstream.sharded and shard %}_{{ shard }}{% endif %}; proxy_pass https://{{ pe_config.float_upstream_name }}{% if upstream.sharded and shard %}_{{ shard }}{% endif %};
include /etc/nginx/snippets/proxy-ssl.conf; include /etc/nginx/snippets/proxy-ssl.conf;
proxy_ssl_name {{ upstream.service_name }}.{{ domain }}; proxy_ssl_name {{ upstream.service_name }}.{{ domain }};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment