Help configuring a proxy that should also handle a specific redirect. #3356
aaronrudkin
started this conversation in
General
Replies: 1 comment
-
What I ended up doing: Under "Advanced", using the following custom configuration:
This seems to work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set up a proxy host such that the following occurs:
https://sub.domain.com/ generally proxies https://sub.domain.com:port/, so https://sub.domain.com/page1 will proxy https://sub.domain.com:port/page1 and the end user will see https://sub.domain.com/page1 in their browser. This much is already working just fine.
The exact URL https://sub.domain.com/ should do a 300 redirect to https://sub.domain.com/landing/ (and thus to https://sub.domain.com:port/landing/) -- the user should see https://sub.domain.com/landing/ in their browser if they enter https://sub.domain.com/. Assume for the sake of argument that it's not possible for me to configure https://sub.domain.com:port/ to do this redirect and so I have to do it at the level of nginx proxy manager.
Is this possible? I thought it might be with Custom Locations but I can't seem to make it work without causing an error.
Thanks. Hope this was clear.
Beta Was this translation helpful? Give feedback.
All reactions