mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
feat: configurable trusted proxies for web requests
This commit is contained in:
@@ -84,6 +84,12 @@ module Postal
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
string :trusted_proxies do
|
||||
array
|
||||
description "An array of IP addresses to trust for proxying requests to Postal (in addition to localhost addresses)"
|
||||
transform { |ip| IPAddr.new(ip) }
|
||||
end
|
||||
end
|
||||
|
||||
group :web_server do
|
||||
|
||||
Reference in New Issue
Block a user