Hi, I have a web site a.com. I own it and run it, but I don't have access to the backend. The pages served by a.com are normal plain HTML pages.
I want to run b.com as a duplicate of a.com, with nginx acting as a proxy. The contents would be identical; however, I would apply some minor modifications to the HTML. Basically, when somebody requests b.com/something.html, the server in b.com would make a request to a.com (asking for /something.html) and then respond with the contents (after making small modifications, probably using nginx.org/en/docs/http/ngx_http_sub_module.html#sub_filter). The a.com site has cookies etc. So, nginx should proxy those too. Is this possible with nginx? Is there an example configuration I can use as a starting point? Merc.
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org