Answer the question
In order to leave comments, you need to log in
Is ngx_http_realip_module required when using Nginx + PHP-FPM?
As I understand it, if you use a bunch with Apache, then this module is needed to determine the real ip of users. And if Nginx + PHP-FPM, IP addresses will be real, this module should not be used?
Answer the question
In order to leave comments, you need to log in
In the nginx + apache bundle, this Apache needs an additional mod_rpaf module to convert the X-REAL-IP header to REMOTE_ADDR.
In the nginx + php-fpm bundle, no additional modules for IP are needed.
ngx_http_realip_module is needed by the "second" nginx in the nginx + nginx bundle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question