Welcome! Log In Create A New Profile

Advanced

Reverse proxying with URL Rewrite

O G
August 02, 2023 06:44AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reverse proxying with URL Rewrite

O G August 02, 2023 06:44AM

Re: Reverse proxying with URL Rewrite

Francis Daly August 06, 2023 04:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready