You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: I did check the Seravo nginx and the module is installed: --with-http_realip_module. I then added the configuration from Cloudflare, but it's reporting (what I think is) the Seravo's internal reverse proxy as origin IP. In this case it was 172.17.42.1.
Solution:
You have to add an additional line to your custom nginx config: set_real_ip_from 172.17.42.0/16; which will also look up the CF-Connecting-IP header on all requests coming through that rev proxy.
Please advise if it's necessary to add other subnets to the config, but here it is in case you want to add to docs:
Background: I did check the Seravo nginx and the module is installed: --with-http_realip_module. I then added the configuration from Cloudflare, but it's reporting (what I think is) the Seravo's internal reverse proxy as origin IP. In this case it was 172.17.42.1.
Solution:
You have to add an additional line to your custom nginx config:
set_real_ip_from 172.17.42.0/16;
which will also look up the CF-Connecting-IP header on all requests coming through that rev proxy.Please advise if it's necessary to add other subnets to the config, but here it is in case you want to add to docs:
The text was updated successfully, but these errors were encountered: