Skip to content
Snippets Groups Projects
Commit 4eb52e64 authored by ale's avatar ale
Browse files

Fix clause for https no-proxy backends

parent 88e42929
Branches
Tags
1 merge request!311Add support for an API proxy
Pipeline #90386 passed
......@@ -8,7 +8,7 @@
location {{ pe_config.path }} {
include /etc/nginx/snippets/block.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 %};
include /etc/nginx/snippets/proxy-ssl.conf;
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