Reverse proxying with URL Rewrite

O G openedgarage at gmail.com
Wed Aug 2 10:42:46 UTC 2023


Dear Community,

I would like to reverse proxy the following:

https://test.us/citizensolutions/AB* to  *https://*AB*.test.us/ and all the
subdirectories so that
all files like https://test.us/citizensolutions/AB/css/*.css reverse proxy
to https://*AB*.test.us/css/*.css

AB in the above example can be any dynamic input that nginx needs to treat
as a variable.

Can you please advise how to achieve this?

Thanks
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230802/be02548f/attachment.htm>


More information about the nginx mailing list