The problem: when nginx is serving front end in two layer webserver, with apache on backend, apache doesn't see clients ip address, just 127.0.0.1 for everybody.
The solution: install either mod_realip (apache 1.3.x only) or mod_rpaf (both apache 1.3.x and 2).
http://sysoev.ru/mod_realip/ - mod_realip
http://stderr.net/apache/rpaf/ - mod_rpaf
http://nginx.info/index.pl/ru/articles
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment