fix: Caddyfile adds X-Real-IP header + trusted_proxies config
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{
|
||||
# Global ACME settings
|
||||
email admin@manko.yoga
|
||||
servers {
|
||||
trusted_proxies static private_ranges
|
||||
}
|
||||
}
|
||||
|
||||
voip.manko.yoga {
|
||||
@@ -17,5 +20,7 @@ voip.manko.yoga {
|
||||
|
||||
# Everything else → featherChat server
|
||||
# Web UI (/), API (/v1/*), WebSocket (/v1/ws/*)
|
||||
reverse_proxy warzone-server:7700
|
||||
reverse_proxy warzone-server:7700 {
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user