Add config value for forwarded IPs whitelisting

This commit is contained in:
Cohee
2024-04-22 15:52:59 +03:00
parent 41ad7c5d26
commit 2f45f50d37
2 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,8 @@ port: 8000
# -- SECURITY CONFIGURATION --
# Toggle whitelist mode
whitelistMode: true
# Whitelist will also verify IP in X-Forwarded-For / X-Real-IP headers
enableForwardedWhitelist: true
# Whitelist of allowed IP addresses
whitelist:
- 127.0.0.1