use forwarded variable
This commit is contained in:
parent
04861c1608
commit
26b32abce0
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ http {
|
|||
|
||||
map $pass_server_port $real_ip_header {
|
||||
{{ $all.ListenPorts.SSLProxy }} proxy_protocol;
|
||||
default X-Forwarded-For;
|
||||
default {{ $cfg.ForwardedForHeader }};
|
||||
}
|
||||
|
||||
map $real_ip_header $the_real_ip {
|
||||
|
|
Loading…
Reference in a new issue