Traffic Limit and HTTP Header rewrite
aryanto at chello.at
Mon Dec 28 05:52:26 MSK 2009
No. I have not tried that module. Mainly because the Limitation section
says as below, which means it can not handle Expires, Cache-Control, and
Last-Modified headers. And it suggests to do that via the Headers module
which can not do any re-write.
Unlike the standard headers module, this module does not automatically
take care of the constraint among the Expires, Cache-Control, and
Last-Modified headers. You have to get them right yourself or use the
headers module together with this module."
> 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?
> nginx mailing list
> nginx at nginx.org
More information about the nginx