-
I'm struggling to recreate a similar configuration that I have in NPM. In NPM, I can create a single Proxy Host and then add Locations with subpaths pointing to different backend hosts. For example, I have a Proxy Host called "myhost.domain.com" that proxies a lighttpd server at "10.0.0.20:80". I then add a location to the subpath "newest" with "10.0.0.100:8888". The 10.0.0.100 web server is configured with a base URL of "/newest". This allows me to navigate to "https://myhost.domain.com/newest". I was assuming that I could do this with the Virtual Directory setting, but when I tried to do this in Zoraxy using a Virtual Directory, Zoraxy instead tries to proxy "https://myhost.domain.com/newest/newest". Is there a simple way to do this in Zoraxy? If not, is there a complex way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, I posted too quick but maybe this will help someone. After trial and error, using the Virtual Directory entries works but you must include the trailing slash for the rewrite rule to work. So instead of "/newest" I had to put "/newest/". |
Beta Was this translation helpful? Give feedback.
Ok, I posted too quick but maybe this will help someone. After trial and error, using the Virtual Directory entries works but you must include the trailing slash for the rewrite rule to work. So instead of "/newest" I had to put "/newest/".