From 517e9373482c41ee4edaf11c4d3be0dc55279ffe Mon Sep 17 00:00:00 2001 From: Gilles Filippini Date: Sun, 7 Feb 2021 13:57:06 +0000 Subject: [PATCH] vhost.d/https_passthrough_stream optional conf file --- app/nginx-stream.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/nginx-stream.tmpl b/app/nginx-stream.tmpl index 3233d4ca0..f962e899a 100644 --- a/app/nginx-stream.tmpl +++ b/app/nginx-stream.tmpl @@ -105,6 +105,9 @@ upstream https_default_backend { server { listen {{ $external_https_port }}; {{ $access_log_off }} + {{ if (exists "/etc/nginx/vhost.d/https_passthrough_stream") }} + include "/etc/nginx/vhost.d/https_passthrough_stream"; + {{ end }} proxy_pass $name; proxy_protocol on; ssl_preread on;