ITADN

Trust proxy's X-Forwarded-For/X-Real-Ip header

#1045OpenTheChilliPL 创建于 2025-12-29
enhancement
T
TheChilliPLcommented
### Is your feature request related to a problem? Please describe My Moonraker instance has authorization on and is behind a reverse proxy (currently Traefik). I'd like local network devices to be able to access Moonraker without authentication, but that would cause the Moonraker to trust every request coming from the reverse proxy as well (as it's running on localhost) ### Describe the solution you'd like Instead, Moonraker should trust a trusted proxy's `X-Forwarded-For`/`X-Real-Ip` header and consider *that* to be the client's IP, which only then decides whether or not the client needs authentication ### Describe alternatives you've considered Configuring my own auth in my reverse proxy and leaving Moonraker itself without it ### Additional information _No response_
1 条评论