Setting caching headers for proxied content?

Maxim Dounin mdounin at
Wed Oct 31 20:41:39 MSK 2007


On Wed, 31 Oct 2007, Marcin Kasperski wrote:

> As this is my first post to the list... great thanks to the author of
> nginx and all people who helped to develop this excellent piece of
> software. Fantastic example of well written and very useful
> software. Thank you.
> Now to the subject. Maybe I missed some part of the docs, but ... is
> it possible to manage caching headers for the (reversy)-proxied
> content from nginx configuration?

Try using ngx_http_headers_module, see English docs here:

It doesn't care whether response was proxied from backend or not.

Maxim Dounin

More information about the nginx mailing list