<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1430919858526_47267">Hi ,<span style="" id="result_box" class="" lang="en"><span id="yui_3_16_0_1_1430919858526_47485" style="" class=""><br></span></span></div><div id="yui_3_16_0_1_1430919858526_47486" dir="ltr"><span style="" id="result_box" class="" lang="en"><span id="yui_3_16_0_1_1430919858526_47485" style="" class="">You must configure</span> <span id="yui_3_16_0_1_1430919858526_48078" style="" class="">"</span><span id="yui_3_16_0_1_1430919858526_48079" style="" class="">X</span><span id="yui_3_16_0_1_1430919858526_48080" style="" class="">-</span><span id="yui_3_16_0_1_1430919858526_48081" style="" class="">Forwarded</span><span style="" class="">-</span><span id="yui_3_16_0_1_1430919858526_48082" style="" class="">For </span><span id="yui_3_16_0_1_1430919858526_48083" style="" class="">" in the</span> <span style="" class="">apache</span> <span style="" class="">log</span> <span id="yui_3_16_0_1_1430919858526_47800" style="" class="">format to get real IP client.<br></span></span></div><div id="yui_3_16_0_1_1430919858526_42377"><span></span></div><div id="yui_3_16_0_1_1430919858526_42378"> </div><div id="yui_3_16_0_1_1430919858526_47400"><div id="yui_3_16_0_1_1430919858526_47399">Regards<br>Aron</div></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, May 7, 2015 9:39 AM, Dewangga Bachrul Alam <dewanggaba@xtremenitro.org> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">Hello!<br><br>Did anyone have same problem when configuring reverse proxy nginx +<br>apache, when the request came from nginx, the IP didn't shows real visitor.<br><br>Example access.log:<br>127.0.0.1 - - [07/May/2015:09:27:30 +0700] "GET / HTTP/1.0" 200 61925<br>127.0.0.1 - - [07/May/2015:09:27:35 +0700] "GET / HTTP/1.0" 200 61925<br>127.0.0.1 - - [07/May/2015:09:27:43 +0700] "GET / HTTP/1.0" 200 62367<br><br>My proxy config:<br>proxy_redirect off;<br>proxy_set_header Host $host;<br>proxy_set_header X-Real-IP $remote_addr;<br>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>proxy_set_header X-Forwarded-Proto https;<br>client_body_buffer_size 128k;<br>proxy_connect_timeout 90;<br>proxy_send_timeout 90;<br>proxy_read_timeout 90;<br>proxy_buffers 32 4k;<br><br>In centos6, I got additional packages like mod_rpaf /<br>mod_extract_forwarded. But I didn't find any similiar packages on centos7.<br><br>Any hints?<br><br>_______________________________________________<br>nginx mailing list<br><a ymailto="mailto:nginx@nginx.org" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br><br><br></div> </div> </div> </div></div></body></html>