As I was a new user it did not let me to post the whole question in one post. Please read reply 1 and 2 as part of the question
I am looking to reverse proxy [mysubdomain.mydomain.com/home] to my webflow home page website my website is hosted in azure kubernetes service (AKS). We use Kubernetes NGINX ingress as our reverse proxy.
This is what I want to achieve
www.mydomian .com/* → goes to my angular app
www.mydomain.com/home → goes to webflow site. without the url gets changed in the browser. without an obvious redirect.
To achieve this we followed Partial site hosting with reverse proxy - #3 by cameronbell & Href prefix | Webflow University and added a DNS CNAME record for [mysubdomain.cms.mydomain.com] to(http://proxy-ssl.webflow.com/).
Here is my K8 configuration:
more_set_input_headers 'Host: mysubdomain.cms.mydomain.com';
proxy_set_header Host mysubdomain.cms.mydomain.com;
- host: mysubdomain.mydomain.com
- path: /home/(.*)
- path: /(.*)
when we browse the mysubdomain.mydomain.com user gets redirected to mysubdomain.mydomain.com/home and then to
mysubdomain.cms.mydomain.com and the address bar changes. So redirection happens but it dose not reverse proxy.
I mean the address bar in the url changes to mysubdomain.cms.mydomain.com I want my users still see mysubdomain.mydomain.com/home in their browser.
here is my setting at web flow:
Href Prefix: /Home
Custom domain: mysubdomain.cms.mydomain.com → marked as default
What I need to achieve is performing the redirect without the url gets changed.
any help is very much appreciated.