Traffic Limit and HTTP Header rewrite

agentzh agentzh at gmail.com
Mon Dec 28 05:38:24 MSK 2009


On Mon, Dec 28, 2009 at 2:35 AM, Anto <aryanto at chello.at> wrote:
>
> Thanks for your reply.
>
> I do need conditional logic, especially to re-write the "Content-Type" header. So I can set it depending on whether the original file is  *.js, *.css or *.html when serving their gzip format.

Have you tried the headers_more module?

     http://wiki.nginx.org/NginxHttpHeadersMoreModule

Cheers,
-agentzh



More information about the nginx mailing list