mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
AdminIPRestrict now accepts trustedProxyCIDRs and resolves the real client IP from X-Real-IP/X-Forwarded-For when connecting through a trusted reverse proxy. Without trusted_proxies configured, behavior is unchanged (RemoteAddr only). Prevents admin panel exposure when OwnCord is deployed behind nginx/caddy/traefik.