Re: Location support for multiple URLs

2013-05-08 Thread Edho Arief
On Sun, Apr 7, 2013 at 12:34 AM, Typlo wrote: > > Hello, > I would like to use the FastCGI cache feature of nginx for my web > application. But I need to use it only for a set of URL. > > I would like to use it for the following locations: > > http://domain.com/index.php?act=detail&ID=[ANY ID HER

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-05-08 Thread Rancor
Hi, > Seems that the libgeoip1 in debian squeeze in version > 1.4.7~beta6+dfsg-1 doesn't support this. Will test this again when > wheezy is released at the next weekend. just want to let you know that this is now working on debian wheezy with libgeoip1 version 1.4.8+dfsg-3 Posted at Nginx Forum

nginx-1.4 proxy requests being continious

2013-05-08 Thread Daniel Black
A request for /img/file_doesnt_exist.jpg results in the backend server (192.168.129.90) getting continuous requests for the same file (which doesn't exist there either so 404 each time), while the original requester waits and nginx keeps asking the backend the same. I'm using the nginx-1.4.1 f

Websocket proxy

2013-05-08 Thread Alder Network
This must have been discussed before but I am new to nginx and this forum. I am upgrading to 1.4 to use its websocket proxy feature. Say I have a websocket server running at port 81, so I want to forward all websocket packets to port 81, and process the rest at port 80. Somehow the following conf

Re: Migrating existing Apache config

2013-05-08 Thread Kay Hayen
Hello, > I would suggest not to use any ready-to-use-conversion-tools but rather > learn the differences and convert the hosts manually one by one. It took me > a couple of days to convert all of our sites to nginx and two weeks more to > realize the differences of Apache and Nginx handling very

Re: Mono + nginx (OpenBSD 5.3)

2013-05-08 Thread Gee
Hi all So this is what I tried tonight: For sanity's sake: chown root /tmp/fastcgi-mono-socket chmod 777 /tmp/fastcgi-mono-socket To see permissions on the socket ls -la /tmp/fastcgi-mono-socket: Output: srwxrwxrwx 1 root wheel 0 May 8 16:01 fastcgi-mono-socket grep wheel /etc/group To

Re: Migrating existing Apache config

2013-05-08 Thread locojohn
I would suggest not to use any ready-to-use-conversion-tools but rather learn the differences and convert the hosts manually one by one. It took me a couple of days to convert all of our sites to nginx and two weeks more to realize the differences of Apache and Nginx handling very specific cases,

Re: ngx_event_openssl_stapling.c vs. openssl version

2013-05-08 Thread Alder Network
It's compilation error. I don't have the exact error message at hand, but it's referencing a macro that's not defined in newer versions of tls1.h. but not in slightly older versions of tls1.h. On Wed, May 8, 2013 at 10:35 AM, Maxim Dounin wrote: > Hello! > > On Wed, May 08, 2013 at 10:17:23AM -

Re: ngx_event_openssl_stapling.c vs. openssl version

2013-05-08 Thread Maxim Dounin
Hello! On Wed, May 08, 2013 at 10:17:23AM -0700, Alder Network wrote: > There seems to be a version dependency on opnessl in ngnix1.4. > I can build it on one platform but not the other where there's slightly > older version of openssl header files. Specifically, > ngx_event_openssl_stapling.c re

ngx_event_openssl_stapling.c vs. openssl version

2013-05-08 Thread Alder Network
There seems to be a version dependency on opnessl in ngnix1.4. I can build it on one platform but not the other where there's slightly older version of openssl header files. Specifically, ngx_event_openssl_stapling.c references some constants which are only defined in newer version of tls1.h. It wo

Re: Migrating existing Apache config

2013-05-08 Thread Miguel Clara
I was just about to suggest the same tool to convert .htaccess but has warned in the website it does not convert everything and also it does not check syntax errors, so It might be even worst. I would prefer to do it "from scratch"... You might find some useful help here: http://forum.nginx.o

Re: Migrating existing Apache config

2013-05-08 Thread Andre Jaenisch
2013/5/8 Kay Hayen : > Hello, > I was hoping to find scripts that migrate my Apache configuration files into > Nginx configuration files, so I could be up and running kind of immediately. Some tools were reported on the mailing list earlier, but I haven't checked them. Like with all automaticall

Migrating existing Apache config

2013-05-08 Thread Kay Hayen
Hello, due to low memory on my virtual machine, I was researching migrating away from Apache. What kind of surprises me, and pardon my ignorance, I didn't lookup much beyond the FAQ, and a few Wiki links, and web searches. I was hoping to find scripts that migrate my Apache configuration files in

Re: nginx security advisory (CVE-2013-2028)

2013-05-08 Thread B.R.
I would add to Patrick answer the following: - 1.1.19 is a development version. IMHO it is always better to prefer stable in production environments. 1.2.8 or 1.4.1 depending on your needs/requirements. - Check the changes from 1.2 or 1.4 to decide what is bette

AW: nginx security advisory (CVE-2013-2028)

2013-05-08 Thread Patrik Kernstock
Hello, the security leak is only affected in nginx 1.3.9 and 1.4.0. So just find out which version is currently in the ubuntu repository and decide if you can update or not. Kind regards, Patrik -Ursprüngliche Nachricht- Von: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] Im Au

Re: nginx security advisory (CVE-2013-2028)

2013-05-08 Thread jonas
Hello, I use nginx 1.1.19, latest version from ubuntu repository. Anyone knows if Is it secure to use the latest verison from ubuntu repository? thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238946,239015#msg-239015 ___ nginx mailin

Proxying based on protocol (e.g. "ws"/"wss")?

2013-05-08 Thread Daniel Griscom
I'm an nginx newbie, and need use use it as a front end for a website that also handles websocket connections. I have the configuration set up so that requests to a specific URI match a location section, which then proxies the request to the websocket back end server, and it all works. (Very co

Re: 403 Forbidden error with Mediawiki

2013-05-08 Thread Stylw
Well, I feel pretty stupid now. I used an automatic script to generate that config and I just assumed that the rewrite would be included. Thanks & Oops. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239004,239011#msg-239011 ___ nginx maili

Re: 104: Connection reset by peer

2013-05-08 Thread B.R.
You were right to seek for answers somewhere else than configuration, then... ;o) Glad you found you answer. I hope you'll find your way around that crash. --- *B. R.* On Wed, May 8, 2013 at 8:31 AM, ron ramos wrote: > Hi B.R. > > To answer your question i'm only sending max 10 connection to N

Re: 403 Forbidden error with Mediawiki

2013-05-08 Thread B.R.
Why would Nginx automatically redirect mydomain.com do mydomain.com/w/ if you don't tell it to do so? Your error log shows that you are trying to list the files of your root directory (so it means you don't have an index file to be served there), which is forbidden by default Nginx configuration t

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
Hi B.R. To answer your question i'm only sending max 10 connection to NGINX on my load balancer. and even if i took it out of the load balancer and there is only me accessing the server, it still happens. thanks! Regards, Ron On Wed, May 8, 2013 at 8:11 PM, B.R. wrote: > Do you have some in

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
Hi All, my apologies, but i think the issue is that php is crashing. was not looking at the syslog: [2617248.127349] php5-fpm[504727] general protection ip:6787a9 sp:7fff22c5c6f0 error:0 in php5-fpm[40+70] gdb backtrace shows #0 0x006787a9 in ?? () #1 0x00678940 in ?

Re: 104: Connection reset by peer

2013-05-08 Thread B.R.
Do you have some information on the number of concurrent connections? Since you already played with the 'max_requests' parameter too, it seems not to be the reason of the trouble. But better be safe than sorry. If your actual number of connections/second is greater than what the configuration is e

403 Forbidden error with Mediawiki

2013-05-08 Thread Stylw
I'm having a frustrating experience trying to get nginx to work properly with mediawiki's pretty urls. For some reason my configuration won’t detect that my mediawiki installation is installed in a folder above root (said folder is called /w/) and appears to be throwing out 403 forbidden errors whe

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
hi, i've seen that info as well ( yes i tried searching for answers as mentioned ) and it did not help me unfortunately. i've increased from 500 to 1000 to 1. increase children servers etc. regards, ron On Wed, May 8, 2013 at 7:42 PM, B.R. wrote: > After a very long search on Google (al

Re: 104: Connection reset by peer

2013-05-08 Thread B.R.
After a very long search on Google (almost 15s, including keyboard input), I found astonishing help, based on the information you provided. About the FPM children burying, I found a resource on StackOverflow linking back to the Nginx forum (ML archive): http://stackoverflow.com/questions/2551185/t

104: Connection reset by peer

2013-05-08 Thread ron ramos
Hi All, I understand that this is a generic error, but it has been frustrating trying to solve this issue and i'm not able to find an answer anywhere. basically i have an application which is running fine using apache, but we wanted to try nginx/php5-fpm: some parts of my application has this con