frontend.proxy-request-check
Enable proxy request checking.
frontend.trusted-proxy
List of proxies to trust (may be IP or network). Make sure frontend.proxy-request-check is enabled.