1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Support the PROXY protocol through the PROXY_PROTO_V1 env variable (#24064)

This commit is contained in:
CSDUMMI 2023-03-14 14:47:57 +01:00 committed by GitHub
parent 43ec9d24f9
commit 5dee40b5f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,3 +22,5 @@ on_worker_boot do
end
plugin :tmp_restart
set_remote_address(proxy_protocol: :v1) if ENV['PROXY_PROTO_V1'] == 'true'