Re: NGINX and mod_log_sql

2015-03-12 Thread Fabián M Sales
Thanks for your Reply Y solved this issue. With this URL: https://github.com/tommybotten/mod_log_sql/commit/23e52d480edcd8406f0338c6a64167a3298985d1 Regards. Fabián M. Sales. On 10/03/15 13:50, Daniël Mostertman wrote: > Hi Fabián, > > You most likely put nginx in front of Apache. > If that's

Re: NGINX and mod_log_sql

2015-03-10 Thread Daniël Mostertman
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

Re: NGINX and mod_log_sql

2015-03-10 Thread Fabián M Sales
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

NGINX and mod_log_sql

2015-03-04 Thread Fabián M Sales
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 webserve