Traffic limit and HTTP headers rewrite

Hello Everybody,

Sorry that I mentioned Cherokee instead of Nginx, so please ignore my
previous post. Below is the questions that I intended to send.

Some time ago, it was mentioned that we can not limit the traffic per
server on Nginx. We have to use traffic shaper at the OS level to do
that. Is it still the case now?

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?

Kind regards,

Anto

On Sun, Dec 27, 2009 at 7:30 PM, Aryanto Rachmad
[email protected] 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