1

So I'm trying to set up a VMWare Unified Access Gateway reverse proxy. The issue I'm currently having is that then entire "Proxy Pattern" is sent to the internal host. What I'd really like to do is set the "Proxy Pattern" to (let's say) /proxy ... but not send that part to the internal host.

So for example, if I configure the Proxy Pattern to

/proxy

then a URL

httpx://uag.mycompany.com/proxy/foobar

should be proxied to

httpx://internal.mycompany.com/foobar

Is that possible? If it is, I can't find it in the documentation that I have.

(Side note -- this is not an X-Y issue. I'm trying to workaround a UAG limitation where I need to proxy to a specific port while keeping the naming scheme intact.)

Thanks.

5
  • How did you configure the proxy pattern? Nov 27, 2023 at 14:15
  • @GeraldSchneider The proxy pattern is /proxy Nov 27, 2023 at 14:27
  • Have you tried setting it to /proxy(.*), as in the examples in the documentation? I would expect the capture group to act as the placeholder for the part that should be proxied. Nov 27, 2023 at 14:29
  • @GeraldSchneider No luck. I'm still seeing path=/proxy/ in my logs. Nov 27, 2023 at 15:06
  • @GeraldSchneider I just found docs.vmware.com/en/Unified-Access-Gateway/2306/… which says "Simple proxy patterns are case sensitive. Page links and proxy patterns must match. " Nov 27, 2023 at 15:12

1 Answer 1

0

I just found

https://docs.vmware.com/en/Unified-Access-Gateway/2306/uag-deploy-config/GUID-E4C155B6-112A-4A7E-AC53-96F72781AEDD.html

which says

Simple proxy patterns are case sensitive. Page links and proxy patterns must match.

So apparently, what I want is not possible. :(

4
  • Why should it not be possible? Your examples show no problem with case sensitivity. Your question lacks details. Nov 27, 2023 at 16:54
  • @GeraldSchneider It says "Page links and proxy patterns must match.". My page links do not match my proxy patterns. Nov 28, 2023 at 17:08
  • Answer updated for emphasis Nov 28, 2023 at 17:14
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – djdomi
    Dec 1, 2023 at 15:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .