Skip to content

Commit

Permalink
vhost.d/https_passthrough_stream optional conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
pini-gh committed Nov 2, 2024
1 parent 77e1077 commit fc8bb39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/nginx-stream.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc8bb39

Please sign in to comment.