Traffic limit and HTTP headers rewrite

Cecep Mahbub cecep at ngadimin.org
Wed Dec 30 08:32:20 MSK 2009


On Sun, Dec 27, 2009 at 7:30 PM, Aryanto Rachmad
<aryanto.rachmad at chello.at> wrote:

> And I want to try Nginx, but I can not find any where in the documentations
> about how to do the HTTP header re-write. What I would like to do is to be
> able to re-write the HTTP header set by Drupal, especially the "Expires",
> "Cache-Control", "Last-Modified", "Content-Encoding" and "Content-Type"
> headers. I am using Lighttpd and I can do the removal and re-write of those
> HTTP headers via mod_magnet LUA script. Is there similar function like that
> in Nginx, which allow me to do that without changing anything in Drupal?

I don't know if this can help you, but you can take a look.

http://wiki.nginx.org/NginxHttpHeadersModule
http://wiki.nginx.org/NginxHttpHeadersMoreModule

Cecep



More information about the nginx mailing list