Merge 9a21482e9f
into 951a704cec
This commit is contained in:
commit
968c02a213
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ http {
|
||||||
# Retain the default nginx handling of requests without a "Connection" header
|
# Retain the default nginx handling of requests without a "Connection" header
|
||||||
map $http_upgrade $connection_upgrade {
|
map $http_upgrade $connection_upgrade {
|
||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' {{ if (gt $cfg.UpstreamKeepaliveConnections 0) }}keep-alive{{ else }}close{{ end }};
|
||||||
}
|
}
|
||||||
|
|
||||||
map {{ buildForwardedFor $cfg.ForwardedForHeader }} $the_real_ip {
|
map {{ buildForwardedFor $cfg.ForwardedForHeader }} $the_real_ip {
|
||||||
|
|
Loading…
Reference in a new issue