Re: Reverse proxy configuration on el7

2015-05-06 Thread Dewangga Bachrul Alam
Hello! Recently discovered by my self, since apache 2.4.1 or latest, it was bundled with mod_remoteip. So, we didn't need any additional modules like mod_rpaf or mod_extract_forwarded. On 05/07/2015 10:11 AM, Nurahmadie Nurahmadie wrote: > > On Thu, May 7, 2015 at 12:07 PM, Dewangga Bachrul Alam

Re: Reverse proxy configuration on el7

2015-05-06 Thread Nurahmadie Nurahmadie
On Thu, May 7, 2015 at 12:07 PM, Dewangga Bachrul Alam < dewangg...@xtremenitro.org> wrote: > Hello! > > On 05/07/2015 09:45 AM, Nurahmadie Nurahmadie wrote: > > Hi > > > > On Thu, May 7, 2015 at 11:38 AM, Dewangga Bachrul Alam > > mailto:dewangg...@xtremenitro.org>> wrote: > > > > Hello! > >

Re: Reverse proxy configuration on el7

2015-05-06 Thread Dewangga Bachrul Alam
Hello! On 05/07/2015 09:45 AM, Nurahmadie Nurahmadie wrote: > Hi > > On Thu, May 7, 2015 at 11:38 AM, Dewangga Bachrul Alam > mailto:dewangg...@xtremenitro.org>> wrote: > > Hello! > > Did anyone have same problem when configuring reverse proxy nginx + > apache, when the request came

Re: Reverse proxy configuration on el7

2015-05-06 Thread Aron
Hi , You must configure "X-Forwarded-For " in the apache log format to get real IP client.  Regards Aron On Thursday, May 7, 2015 9:39 AM, Dewangga Bachrul Alam wrote: Hello! Did anyone have same problem when configuring reverse proxy nginx + apache, when the request came from ngi

Re: Reverse proxy configuration on el7

2015-05-06 Thread Nurahmadie Nurahmadie
Hi On Thu, May 7, 2015 at 11:38 AM, Dewangga Bachrul Alam < dewangg...@xtremenitro.org> wrote: > Hello! > > Did anyone have same problem when configuring reverse proxy nginx + > apache, when the request came from nginx, the IP didn't shows real visitor. > > Example access.log: > 127.0.0.1 - - [07

Reverse proxy configuration on el7

2015-05-06 Thread Dewangga Bachrul Alam
Hello! Did anyone have same problem when configuring reverse proxy nginx + apache, when the request came from nginx, the IP didn't shows real visitor. Example access.log: 127.0.0.1 - - [07/May/2015:09:27:30 +0700] "GET / HTTP/1.0" 200 61925 127.0.0.1 - - [07/May/2015:09:27:35 +0700] "GET / HTTP/1

Re: FastCGI sent in stderr: "Primary script unknown"

2015-05-06 Thread Francis Daly
On Tue, May 05, 2015 at 06:01:26AM -0400, vincent123456 wrote: Hi there, > I have this error : > 2015/05/05 11:48:32 [error] 5181#0: *5 FastCGI sent in stderr: "Primary > script unknown" while reading response header from upstream, client: > 127.0.0.1, server: myserver.local, request: "GET / HTT

Re: error running shared postrotate script

2015-05-06 Thread Francis Daly
On Sun, May 03, 2015 at 09:56:09AM -0700, Paul N. Pace wrote: Hi there, > Ever since upgrading to 1.8.0 I get the following report from Cron: I suspect that this problem is outside the nginx binary, but may be due to other files added as part of the package installation. > /etc/cron.daily/logro

nginx.conf 2015 CFP is open

2015-05-06 Thread Sarah Novotny
nginx.conf 2015 Join us at Fort Mason in San Francisco from September 22-24, 2015. Submit a proposal to nginx.conf 2015! TL;DR • Speaker proposals due: 11:59 PM PDT, June 2, 2015 • Speakers notified: early July, 2015 • Program schedule announced: late July, 2015 As a me

Re: How to block fake google spider and fake web browser access?

2015-05-06 Thread Francis Daly
On Tue, May 05, 2015 at 07:05:59PM -0400, meteor8488 wrote: Hi there, > location / { > root /var/www; > > if ( $geo = "badip" ) { > return 444; > } > if ( $geo =

Re: Unbuffered POST requests and/or uWSGI in nginx 1.8

2015-05-06 Thread Valentin V. Bartenev
On Tuesday 05 May 2015 21:36:26 Igor Katson wrote: > Hi, > > it's stated in a lot of IT news websites, that nginx 1.8 supports > unbuffered uploads. However, I could not find it in thechangelog > , and also, did not find any new relevant > options in the nginx core