Reverse proxy and html rewrite

Manuel Vacelet manuel.vacelet at gmail.com
Thu Oct 7 15:45:14 MSD 2010


Hi there,

I'd like to know if nginx supports html rewrite when configured as a
reverse proxy.

My problem is that the site I'd like to RP set the full server URL in
the login form to force the login in HTTPS, ie sth like:
<form action="https://localhost/...">
....

While, for the browser, it accesses the site with
http://localhost:2080 or https://localhost:2443

Is there a way to configure nginx to take this into account ?

Thanks & regards,
Manuel



More information about the nginx mailing list