diff --git a/swarm-proxy/https-routing.conf.tmpl b/swarm-proxy/https-routing.conf.tmpl index 387c5def99ed6e504a95bd8582994e9a28332d8f..0285202f665ad91bfc347c5cde4c7af034a8cbdb 100644 --- a/swarm-proxy/https-routing.conf.tmpl +++ b/swarm-proxy/https-routing.conf.tmpl @@ -8,7 +8,7 @@ stream { } upstream fallthrough_https_upstream { - server host.docker.internal:4443; + server 127.0.0.1:445; } upstream local_https { @@ -22,4 +22,16 @@ stream { proxy_pass $name; ssl_preread on; } + + upstream fallthrough_final { + server host.docker.internal:4443; + } + + + server { + listen 445 proxy_protocol; + proxy_pass fallthrough_final; + ssl_preread on; + proxy_protocol off; + } }