Support the PROXY protocol through the PROXY_PROTO_V1 env variable (#24064)
This commit is contained in:
parent
43ec9d24f9
commit
5dee40b5f5
|
@ -22,3 +22,5 @@ on_worker_boot do
|
||||||
end
|
end
|
||||||
|
|
||||||
plugin :tmp_restart
|
plugin :tmp_restart
|
||||||
|
|
||||||
|
set_remote_address(proxy_protocol: :v1) if ENV['PROXY_PROTO_V1'] == 'true'
|
||||||
|
|
Reference in New Issue