Skip to content

Commit

Permalink
SSLPassthrough witho go proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
dm3ch committed Nov 28, 2019
1 parent 43adb1f commit 7a79805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/nginx/template/nginx.tmpl
Expand Up @@ -631,7 +631,7 @@ stream {
{{ buildSSLPassthroughUpstreams $backends .PassthroughBackends }}

server {
listen 443 {{ if $cfg.UseProxyProtocol }} proxy_protocol{{ end }};
listen {{ $all.ListenPorts.HTTPS }} {{ if $cfg.UseProxyProtocol }} proxy_protocol{{ end }};
{{ if $IsIPV6Enabled }}listen [::]:443 {{ if $cfg.UseProxyProtocol }} proxy_protocol{{ end }};{{ end }}
proxy_pass $stream_upstream;
ssl_preread on;
Expand Down

0 comments on commit 7a79805

Please sign in to comment.