mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 06:06:45 +00:00
Support the PROXY protocol through the PROXY_PROTO_V1 env variable (#24064)
This commit is contained in:
parent
fe7752f4b8
commit
4e02c7dc2c
|
@ -22,3 +22,5 @@ on_worker_boot do
|
|||
end
|
||||
|
||||
plugin :tmp_restart
|
||||
|
||||
set_remote_address(proxy_protocol: :v1) if ENV['PROXY_PROTO_V1'] == 'true'
|
||||
|
|
Loading…
Reference in a new issue