Victor Iggy
April 20, 2009 08:11PM
Maxim Dounin thank you so much! You just saved me from pulling out my
hair.

if ($request_uri ~ "^/resources/.*") {
expires 30d;
proxy_pass http://127.0.0.1:8089;
break;
}

Works perfectly. I did not know things get discarded in if statements. I
would ideally be using try_files but I have varnish in front of nginx to
cache data. There are some issues with nginx on solaris using /dev/poll,
connections in rapid succession get dropped and eventports just stops
responding after a few hours of medium amount of traffic.


--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

nginx bug

Victor Iggy April 20, 2009 05:19PM

Re: nginx bug

Maxim Dounin April 20, 2009 07:04PM

Re: nginx bug

Victor Iggy April 20, 2009 08:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready