You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
+2
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,7 @@ http {
241
241
server_name {{ $server.Hostname }};
242
242
listen 80{{ if $cfg.UseProxyProtocol }} proxy_protocol{{ end }}{{ if eq $server.Hostname "_"}} default_server reuseport backlog={{ $backlogSize }}{{end}};
243
243
{{ if $IsIPV6Enabled }}listen [::]:80{{ if $cfg.UseProxyProtocol }} proxy_protocol{{ end }}{{ if eq $server.Hostname "_"}} default_server reuseport backlog={{ $backlogSize }}{{ end }};{{ end }}
244
+
set $proxy_upstream_name "-";
244
245
245
246
{{/* Listen on 442 because port 443 is used in the TLS sni server */}}
246
247
{{/* This listener must always have proxy_protocol enabled, because the SNI listener forwards on source IP info in it. */}}
0 commit comments