nginx bug

Victor Iggy lists at
Tue Apr 21 01:19:55 MSD 2009

Ok, there has to be a bug here some where. My $request_uri isn't

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) {

Is there url
curl -I
Posted via

More information about the nginx mailing list