Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Backend as subdir?

$
0
0

@ctgreybeard wrote:

I had such great success with my first question that I thought I would ask my next one. I'm looking for whether this is possible and what the general approach might be. I'd like to figure it out myself but I think I need a direction.

The question is ... can I use a subdirectory, as in my first question, to select the backend server AND have that server unaware of the subdirectory?

In my first question the backend knew how to handle X-Script-Name: which was passed to it. In the new case the backend is a webcam and doesn't seem to honor that header. I use reqrep to remove the subdir on the inbound request, is there a way to put it back in on the response? Or is there a better way than I've thought of?

Any gentle pointers will be appreciated.

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>