Hi.

I need set some fascgi_* inside "if" block. E.g.:

if ($foo = "bar") {
    fastcgi_ignore_headers "Set-Cookie";
}

But the error is occure on configtest stage:

nginx: [emerg] "fastcgi_ignore_headers" directive is not allowed here 

Is there any workaround?

--
Cheers,
Vitaliy

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to