Nginx reverse proxy must understand lighttpd rewrite rules


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:,184048,184048#msg-184048

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs