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 node1
But, 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
-
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