Re: 'no input file specified' on LEMP setup

2013-02-18 Thread Ensiferous
I have documented most of the causes of this here: http://blog.martinfjordvald.com/2011/01/no-input-file-specified-with-php-and-nginx/ Chances are your issue is in there as well. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236318,236320#msg-236320 __

Bandwidth limiting per virtualhost

2013-02-18 Thread Stefanita Rares D.
Hi guys, I am managing a high traffic website. I have some embedded images that get a lot of traffic, and i would like to separate the traffic for the embeds, and the images that are viewed from the site on 2 virtual hosts. I would like to limit the embeds let's say to 50 mb/s so they don't eat u

'no input file specified' on LEMP setup

2013-02-18 Thread mottwsc
I followed the article "How to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6" (https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6) and could see the nginx default page displayed. After I worked through the changes to configs, etc.

Re: Websocket proxy support

2013-02-18 Thread Martin Loy
There is a commit from maxim about ~12hs ago > http://trac.nginx.org/nginx/changeset/5073/nginx :) On Mon, Feb 18, 2013 at 10:06 AM, Andrew Alexeev wrote: > On Feb 18, 2013, at 4:03 PM, perone wrote: > > > Is there any updates on the Websocket proxy support ? Everything I found > is > > only thi

Sending SSL Client Certificate upstream

2013-02-18 Thread Dave Marchevsky
Hello, I am modifying my upstream servers so that they require client certificates from clients, which are other backend apps making service calls and nginx proxying for public requests. Public requests come to nginx without a client certificate and are proxied upstream, but since the upstream ser

Re: Geo blocking, but allowing google index robot to pass-thru

2013-02-18 Thread Steve Holdoway
On Mon, 2013-02-18 at 14:00 +0200, pekka.pan...@sofor.fi wrote: > Hi > > I have a site where i want to geo block all but one country, but > perhaps allow Google to index site, perhaps some other index bot too. > > So what sort of configuration is needed so i can detect Google bot and > let it p

Re: Debugging performance under high load

2013-02-18 Thread agentzh
Hello! On Sun, Feb 17, 2013 at 3:52 AM, fluffypony wrote: > How do I debug the poor > performance so I at least know what to fix? Is there a way to step through > exactly what is happening in a request under load to see where it's being > delayed? I'd like to get it up to at least 1k RPS if not mo

Re: Reverse proxy configuration help

2013-02-18 Thread Jonathan Matthews
On 18 February 2013 15:06, jims wrote: > I am new to nginx, it being recommended to solve a problem. [ Having read your mail, this kind of reverse proxying is exactly what nginx is very good at; I think you're just trying to do too much, too quickly, and need to step back from the problem for a m

Reverse proxy configuration help

2013-02-18 Thread jims
I am new to nginx, it being recommended to solve a problem. The problem: I have a VPS hosting a website and an application server in my DMZ. I have a test and prod version of each. I want both DMZ'ed servers reverse-proxied such that requests where the referrer is the test web server always go

Re: Proxy module for nginx

2013-02-18 Thread Jonathan Matthews
On 18 February 2013 12:32, zzhofict wrote: > Hi, all >I want to make a module for my nginx server, which can block some ip with > particular features. >My idea is to create a module like the proxy module in some way, can any > of you give me some suggestions? >Thanks a lot... I sugges

Re: A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!

2013-02-18 Thread mex
nice catch! i'd suggest you create the same stuff for ReactOS too (or maybe linux?) so you could have > f | n | o | r | d or > f | n | o | l | d regards, mex ... please forgive me that blasphemous references :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236283,2362

Re: embedded variable $cookie_YYY and "-" symbol.

2013-02-18 Thread Igor Karymov
This workaround has solve my issues. Thank you! ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: embedded variable $cookie_YYY and "-" symbol.

2013-02-18 Thread Jonathan K.
Francis Daly wrote in post #1097580: > On Mon, Feb 18, 2013 at 03:54:33PM +0400, Igor Karymov wrote: > > Hi there, > >> set $uwaver $cookie_un-uwa-version; >> >> $uwaver always equal to "-uwa-version" string instead of real cookie value. >> >> maybe i should use some kind of escaping here? > > I be

Re: embedded variable $cookie_YYY and "-" symbol.

2013-02-18 Thread Francis Daly
On Mon, Feb 18, 2013 at 03:54:33PM +0400, Igor Karymov wrote: Hi there, > set $uwaver $cookie_un-uwa-version; > > $uwaver always equal to "-uwa-version" string instead of real cookie value. > > maybe i should use some kind of escaping here? I believe that the reason is that there are some char

Proxy module for nginx

2013-02-18 Thread zzhofict
Hi, all I want to make a module for my nginx server, which can block some ip with particular features. My idea is to create a module like the proxy module in some way, can any of you give me some suggestions? Thanks a lot... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236292

Re: Websocket proxy support

2013-02-18 Thread Andrew Alexeev
On Feb 18, 2013, at 4:03 PM, perone wrote: > Is there any updates on the Websocket proxy support ? Everything I found is > only this: http://trac.nginx.org/nginx/milestone/1.3.13 Yes, there will be an update very soon. Be patient and stay tuned! ___ ng

Websocket proxy support

2013-02-18 Thread perone
Is there any updates on the Websocket proxy support ? Everything I found is only this: http://trac.nginx.org/nginx/milestone/1.3.13 Thank you ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236289,236289#msg-236289 ___ nginx mailing list ng

Geo blocking, but allowing google index robot to pass-thru

2013-02-18 Thread Pekka . Panula
Hi I have a site where i want to geo block all but one country, but perhaps allow Google to index site, perhaps some other index bot too. So what sort of configuration is needed so i can detect Google bot and let it pass-thru? Would be nice if there is example configuration. Is only good way t

embedded variable $cookie_YYY and "-" symbol.

2013-02-18 Thread Igor Karymov
Hi all. I observe unexpected behavior when trying to use $cookie_YYY embended variable when cookie name include "-" symbol. set $uwaver $cookie_un-uwa-version; $uwaver always equal to "-uwa-version" string instead of real cookie value. maybe i should use some kind of escaping here? nginx -v ngi

A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!

2013-02-18 Thread Constantine A. Murenin
Dear nginx@, I'm not sure if this has already been done before and to what extent, but I'd like to demonstrate that a whole web-service "portal" can be written exclusively in nginx.conf, without any php, perl, python, java or cgi, or even any files external to nginx.conf. Introducing http:/

A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!

2013-02-18 Thread Constantine A. Murenin
This is a multi-part message in MIME format. --030707040502000103070707 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Dear nginx@, I'm not sure if this has already been done before and to what extent, but I'd like to demonstrate that a whole