feat: configurable trusted proxies for web requests

This commit is contained in:
Adam Cooke
2024-03-05 22:54:19 +00:00
parent 9bf6152060
commit 3785c99851
4 changed files with 16 additions and 12 deletions
+2
View File
@@ -27,6 +27,8 @@ postal:
signing_key_path: config/postal/signing.key
# An array of SMTP relays in the format of smtp://host:port
smtp_relays: []
# An array of IP addresses to trust for proxying requests to Postal (in addition to localhost addresses)
trusted_proxies: []
web_server:
# The default port the web server should listen on unless overriden by the PORT environment variable