Skip to content

Commit 0b7b795

Browse files
author
Matt Pryor
committed
Always use http for MITM proto
1 parent dff7971 commit 0b7b795

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/zenith_proxy/templates/zenith-client.yaml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ verify_ssl: {{ 'yes' if zenith_registrar_verify_ssl else 'no' }}
99
server_address: {{ zenith_sshd_host }}
1010
server_port: {{ zenith_sshd_port }}
1111
{% if zenith_proxy_mitm_enabled %}
12+
backend_protocol: http
1213
forward_to_host: 127.0.0.1
1314
forward_to_port: {{ zenith_proxy_mitm_listen_port }}
1415
{% else %}
16+
backend_protocol: {{ zenith_proxy_upstream_scheme }}
1517
forward_to_host: {{ zenith_proxy_upstream_host }}
1618
forward_to_port: {{ zenith_proxy_upstream_port }}
1719
{% endif %}
18-
backend_protocol: {{ zenith_proxy_upstream_scheme }}
1920
{% if zenith_proxy_upstream_read_timeout %}
2021
read_timeout: {{ zenith_proxy_upstream_read_timeout }}
2122
{% endif %}

0 commit comments

Comments
 (0)