<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Fabián,<br>
      <br>
      You most likely put nginx in front of Apache.<br>
      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.<br>
      <br>
      You might want to look into passing the IP of the visitor to your
      backend (Apache).<br>
      A good example can be found easily with a search engine, like
      this:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/">http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/</a><br>
      <br>
      Hope this helps,<br>
      <br>
      Daniël<br>
      <br>
      Fabián M Sales schreef op 10-3-2015 om 17:48:<br>
    </div>
    <blockquote cite="mid:54FF2047.9000107@donweb.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Any idea?<br>
        <br>
        Thanks.<br>
        On 04/03/15 15:18, Fabián M Sales wrote:<br>
      </div>
      <blockquote cite="mid:54F74C8B.80007@donweb.com" type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        Hello List.<br>
        <br>
        <span id="result_box" class="" lang="en"><span class="hps">I</span>
          use <span class="hps">mod_log_sql</span><span>-1.10</span> <span
            class="hps">compiled into</span> <span class="hps">Apache /</span>
          <span class="hps">2.4.7</span> <span class="hps">and</span> <span
            class="hps">write</span> <span class="hps">correctly in</span>
          <span class="hps">MySQL.</span><br>
          <br>
          <span class="hps">In</span> <span class="hps">the</span> <span
            class="hps">nginx</span> <span class="hps">web</span> <span
            class="hps">server</span> <span class="hps">with</span> <span
            class="hps">the</span> <span class="hps">IP</span> <span
            class="hps alt-edited">writer</span> <span class="hps">in</span>
          <span class="hps">MySQL</span> <span class="hps">is the</span>
          <span class="hps">IP</span> <span class="hps">of the</span> <span
            class="hps">webserver</span> <span class="hps">and</span> <span
            class="hps">not</span> <span class="hps">the client IP</span>
          <span class="hps">to access the</span> <span class="hps">website.</span><br>
          <br>
          <span class="hps">You might still</span> <span class="hps">be</span>
          <span class="hps">able to write</span> <span class="hps">the
            client IP</span> <span class="hps atn">and non-</span><span>IP</span>
          <span class="hps">using</span> <span class="hps">nginx</span>
          <span class="hps">webserver</span><span class="">?</span></span><br>
        <br>
        <div class="moz-signature">-- <br>
          <meta http-equiv="CONTENT-TYPE" content="text/html;
            charset=windows-1252">
          <title>Firma Institucional</title>
          <meta name="GENERATOR" content="LibreOffice 4.0.2.2 (Linux)">
          <meta name="CREATED" content="0;0">
          <meta name="CHANGEDBY" content="Fabian ">
          <meta name="CHANGED" content="20140910;15295200">
          <meta name="CHANGEDBY" content="Fabian ">
          <meta name="CHANGEDBY" content="Fabian ">
          <!--<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
          <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
          <style type="text/css">
        <!--
                P { font-family: "Times New Roman"; font-size: 12pt }
                TD P { font-family: "Times New Roman"; font-size: 12pt }
                P.msonormal { margin-bottom: 0cm; font-family: "Times New Roman"; font-size: 12pt }
                A:link { color: #0000ff }
                A:visited { color: #0000ff }
        --></style></div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
nginx mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
      </blockquote>
      <br>
      <br>
      <div class="moz-signature">-- </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
    </blockquote>
    <br>
  </body>
</html>