Hi Fabián,
You most likely put nginx in front of Apache.
If that's the case, then chances are that you see the address in your
logs that nginx contacts Apache from, instead of the user connecting to
nginx.
You might want to look into passing the IP of the visitor to your
backend (Apache).
A good example can be found easily with a search engine, like this:
http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/
Hope this helps,
Daniël
Fabián M Sales schreef op 10-3-2015 om 17:48:
Any idea?
Thanks.
On 04/03/15 15:18, Fabián M Sales wrote:
Hello List.
I use mod_log_sql-1.10 compiled into Apache / 2.4.7 and write
correctly in MySQL.
In the nginx web server with the IP writer in MySQL is the IP of the
webserver and not the client IP to access the website.
You might still be able to write the client IP and non-IP using nginx
webserver?
--
Firma Institucional
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
--
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx