Skip to content

Commit

Permalink
fix: 💡 Add comment about trusted_proxies in Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienyhuel committed Jan 8, 2025
1 parent 91a05c7 commit 83db6d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.init.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
auto_https off
order coraza_waf first
servers {
# Enable trusted_proxies to make Caddy populate client_ip variable from X-Forwarded-For header, in the case Caddy is behind a reverse proxy
# See : https://caddyserver.com/docs/caddyfile/options#trusted-proxies
trusted_proxies static private_ranges
}
}
Expand Down

0 comments on commit 83db6d5

Please sign in to comment.