Welcome! Log In Create A New Profile

Advanced

Nginx RP: a lot of rewrite rules

April 04, 2013 03:02AM
Hi,
I've two freebsd 9.1 vm (2 corees, 4gb ram) with nginx-1.2.7 in
active/passive mode (using carp), acting as a reverse proxy to 4
apache22 backend (2 cores, 4gb ram).
I should set 800 simple rewrite rules, such as:

rewrite ^/something/foo.html /bar.html permanent;

I cannot use any regexp to optimize all these rules, I have no
scripting language enabled (the vhosts will serve only static pages, the
apache22 backend will use SSI too).

Here the question:

Is it better to use (in terms of performances, reliability, load on the
reverse proxy) the rewrite rules on the nginx reverse proxy, or use the
rewrite rules on the apache22 backend?

Thanks,
d.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx RP: a lot of rewrite rules

davide.damico April 04, 2013 03:02AM

Re: Nginx RP: a lot of rewrite rules

Francis Daly April 04, 2013 05:36AM

Re: Nginx RP: a lot of rewrite rules

Francis Daly April 04, 2013 02:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready