nginx bug
Victor Iggy
lists at ruby-forum.com
Tue Apr 21 01:19:55 MSD 2009
Ok, there has to be a bug here some where. My $request_uri isn't
matching.
I have also ran if ($request_uri !~ "^/resources/.*") {} just to see if
my regexp is messed up. The line isn't being evaluated.
I am pretty sure it is reaching the proxy_pass since I can add
"add_header X-Foo 'bar';" and that will be appended to response.
nginx 0.7.52
location / {
if ($request_uri ~ "^/resources/.*") {
add_header X-Foo 'bar';
expires 30d;
}
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:8089;
break;
}
}
Is there url
curl -I
http://mydomain.com/resources/org.apache.wicket.Application/optimized.css
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list