Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:config:show-real-ip-behind-a-proxy [2016/06/08 14:52] Rob Holda |
litespeed_wiki:config:show-real-ip-behind-a-proxy [2016/06/16 14:59] Jackson Zhang |
||
---|---|---|---|
Line 6: | Line 6: | ||
Once enabled, your access logs will show the correct IP addresses and even PHP's $_SERVER['REMOTE_ADDR'] variable will contain your visitors' real IP addresses instead of a CloudFlare IP address. This will resolve most problems that might occur when enabling CloudFlare on PHP-enabled web sites (like WordPress or vBulletin installs). | Once enabled, your access logs will show the correct IP addresses and even PHP's $_SERVER['REMOTE_ADDR'] variable will contain your visitors' real IP addresses instead of a CloudFlare IP address. This will resolve most problems that might occur when enabling CloudFlare on PHP-enabled web sites (like WordPress or vBulletin installs). | ||
+ | |||
+ | To avoid CloudFlare IP addresses being blocked by server security settings, you should add Cloudflare IP/subnet to trusted list. | ||
The same is true for other proxy setups. | The same is true for other proxy setups. |