nginx reverse proxy must understand lighttpd rewrite rules

kopiko nginx-forum at nginx.us
Sun Mar 20 02:13:12 MSK 2011


Hi,

Server 1: got lighttpd with rewrite rules (lighttpd rewrite rules)
Server 2: got reverse proxy (no rewrite rules)

When on server 2 as proxy serving lighttpd i dont have any rules in its
config and it still understand what server 1 sending and serving as it
would have rewrite rules.

Problem arise when i switch on Server 2 lighttpd to nginx. Nginx serving
pages but doing 404 for rewrite pages received from Server 1.  
Do i must convert rewrite rules from lighttpd on Server 1 and place it
in Server 2 nginx configuration to make nginx understand rewrites?

Or problem is somewhere else.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,184048,184048#msg-184048




More information about the nginx mailing list