Re: Loadable runtime modules?

2014-02-19 Thread Vladimir Homutov
On Wed, Feb 19, 2014 at 06:15:55PM -0500, wardrop wrote: > Hi, > > I much prefer Nginx over Apache, and would use it as our primary HTTP server > at my place of work (as I already do for my personal sites), but the thing > that limits my willingness to do this is the fact that one must recompile >

Re: Loadable runtime modules?

2014-02-19 Thread wardrop
Thanks, that's handy to be aware of, but would still like to enquire as to why Nginx doesn't support such loadable modukes? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247763,247766#msg-247766 ___ nginx mailing list nginx@nginx.org http://

Re: Loadable runtime modules?

2014-02-19 Thread Sylvia
Hi. Maybe you need Tengine, its a fork of NGINX http://tengine.taobao.org/ ~GL Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247763,247765#msg-247765 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Loadable runtime modules?

2014-02-19 Thread wardrop
Hi, I much prefer Nginx over Apache, and would use it as our primary HTTP server at my place of work (as I already do for my personal sites), but the thing that limits my willingness to do this is the fact that one must recompile Nginx to turn on/off modules. This can get tedious and problematic w

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread Bozhidara Marinchovska
Hello, Your FastCGI params are wrong. It should be as I wrote previously: fastcgi_param REMOTE_ADDR $http_x_real_ip; In your fastcgi_params file remove: fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param HTTP_X_REAL_IP $http_x_real_ip; and add on their place only: fastcgi_param REMOTE_ADDR

Re: rcvbuf option

2014-02-19 Thread atarob
Maxim Dounin Wrote: --- > Hello! > > On Tue, Feb 18, 2014 at 05:16:18PM -0500, atarob wrote: > > > Maxim Dounin Wrote: > > --- > > > Hello! > > > > > > On Tue, Feb 18, 2014 at 02:58:05PM -0500

Re: headers_in_hash

2014-02-19 Thread atarob
Maxim Dounin Wrote: --- > Hello! > > On Tue, Feb 18, 2014 at 02:36:24PM -0500, atarob wrote: > > > Maxim Dounin Wrote: > > --- > > > Hello! > > > > > > On Fri, Feb 14, 2014 at 04:39:23PM -0500

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi BR, I am really sorry , if you feel not good the way of I am asking. Since I am not a English person nature , perhaps I am lagging in this part Sorry Thanks Siva Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247736,247750#msg-247750 _

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread B.R.
I am tempted to copy an URL recently provided by Maxim in another thread: http://www.catb.org/~esr/faqs/smart-questions.html --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
REAL IP value not passing location ~ \.php$ { root /var/www; fastcgi_pass 127.0.0.1:9000; #fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi Bozhidara, Thanks for the suggesting . I will try your setting and let you know soon. Thanks Siva Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247736,247744#msg-247744 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi BR, www.whatismyip.com shows 115.1x8.3x.37 , Apache shows 115.1x8.3x.37 But nginx shows 210.55.x.x Server Setup like follows Nginx on Port 80 backend FastCGI Php Apache on Port 8080 nginx conf user www-data; worker_processes 4; work

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread Bozhidara Marinchovska
Hello, If your trackfail.php (behind FastCGI) detects IP address based on $_SERVER['REMOTE_ADDR'], you may would like to place additional headers in your nginx configuration: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; Then pass X-Rea

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread B.R.
Despite what you are stating, I see a valid NZ IP address in the '$_SERVER'​ environment variables of the PHP instance running behind Nginx (most probably 210.55.x.x prefix). The Apache remote address is not the right one. Since you failed to explain your setup, I suppose Nginx proxies traffic to

Re: Issue with spdy and proxy_pass

2014-02-19 Thread p.heppler
Damn, seems Firefox didn't clear the cache even if I told him to do so. Worked a while, but now blank page again. But it has to be the Tomcat backend 'cause PHP passed thru to fastcgi works. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247692,247739#msg-247739 ___

Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi, We have strange issue on our swiss based on server. Issue: Incorrect IP Address value in REMOTE_ADDR Header Nginx Version : 1.2.1 Server OS : Debian 7.1 Modules : nginx -V nginx version: nginx/1.2.1 TLS SNI

Re: Issue with spdy and proxy_pass

2014-02-19 Thread Valentin V. Bartenev
On Wednesday 19 February 2014 06:24:41 p.heppler wrote: > Hmm, just tried adding > proxy_set_header If-none-Match $http_if_none_match; > to my config and now it works with spdy to. Probably it works in this case because browser just shows to you cached page, that was retrieved earlier over http o

Re: headers_in_hash

2014-02-19 Thread Maxim Dounin
Hello! On Tue, Feb 18, 2014 at 02:36:24PM -0500, atarob wrote: > Maxim Dounin Wrote: > --- > > Hello! > > > > On Fri, Feb 14, 2014 at 04:39:23PM -0500, atarob wrote: > > > > > Creating a module, I want to read in from config desired http heade

Translating apache config to nginx

2014-02-19 Thread Grant
Roundcube uses some apache config to deny access to certain locations and I'm trying to translate them to nginx. The following seems to work fine: location ~ ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) { deny all; } location ~ /?(README\.md|compo

Re: rcvbuf option

2014-02-19 Thread Maxim Dounin
Hello! On Tue, Feb 18, 2014 at 05:16:18PM -0500, atarob wrote: > Maxim Dounin Wrote: > --- > > Hello! > > > > On Tue, Feb 18, 2014 at 02:58:05PM -0500, atarob wrote: > > > > > The config listen option rcvbuf which maps to the TCP SO_RCVBUF, is

Re: Issue with spdy and proxy_pass

2014-02-19 Thread p.heppler
Hmm, just tried adding proxy_set_header If-none-Match $http_if_none_match; to my config and now it works with spdy to. Why do I need to set this manually when using spdy, but not on "normal" http/https? Weird... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247692,247723#msg-247723

Re: Issue with spdy and proxy_pass

2014-02-19 Thread p.heppler
I checked Tomcat logs. No errors, just status 200 and zero length. I appended %v - Local server name to the log to see if $host is passed thru correct. It is. And now it's getting weird. I replcaed my complex website (which runs fine with pure ssl!) with a simple "Hello World" and it works! Seems

Re: Issue with spdy and proxy_pass

2014-02-19 Thread p.heppler
Strange. As said with pure ssl it works, it's just the spdy part. I'll check Tomcat logs. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247692,247720#msg-247720 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo