Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Reverse proxy - otter behind path
-
Hello
Otter is on docker container and available from this URL http://container.local:8090.
I am looking to get access to Otter with this URL https://test.local/otter over HAPROXY.I have done this rule for the haproxy backend :
backend be_prd_otter http-request set-path %[path,regsub(^/otter(/|$),/)] server ontainer.local:8090 X.X.X.X:8090 check fall 3 rise 2 cookie node1But, this is not working.
The response location is /log-in?ReturnUrl=%2F instead of /otter/log-in?ReturnUrl=%2FSuch kind of config working fine for a lot of our applications.
Reverse proxy from https://test.local to http://container.local:8090 is working fine
Any tips ?
Best regards
-
Hi @philippe-camelio_3885,
We do not support "sub-path content/URL Rewriting" in any of our products and strongly discourage even trying. It won't work and will just lead to lots of wasted time and headaches, since everything from javascript ajax requests to CSS background images to cookies assumes a well-known root path of
/for the application.Best,
Alana
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login