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

Haproxy with pfsense

$
0
0

Hello,
We want to use haproxy as a reverse proxy.
Our Web-server is using a spacial Tomcat & Apache Library. It is using for many sites e.x
1- https://web01.maindomain.ch —> from internet forward
to https://192.168.100.100/web01 —> from internal

2- https://web02.maindomain.ch —> from internet forward
to https://192.168.100.100/web02 —> from internal

3- https://web03.maindomain.ch —> from internet forward
to https://192.168.100.100/web03 —> from internal

4- https://web04.maindomain.ch —> from internet forward
to https://192.168.100.100/web04 —> from internal

5- https://web05.maindomain.ch —> from internet forward
to https://192.168.100.100/web05 —> from internal

From Internal we can access the sites.
pfsense and haproxy configuration are OK. We can access the sites from internet, but there are some error by dispaly the site from internet. on the other side site display internal is OK.

Browser display error (F12)
Failed to load resource: the server responded with a status of 400 ()
Failed to load resource: net::ERR_TOO_MANY_REDIRECTS
Uncaught ReferenceError: XXXXBadgeCreationNotify is not defined
at Login.jsp?E=0:181:1
Uncaught ReferenceError: $ is not defined
at Login.jsp?E=0:358:5

How i can configure haproxy to be use, so that the site displayed from internet is the same as from internal.

On Frontend we are using Backend with ex.

http-request set path : fmt: 192.168.100.10/web01%[path,regsub(^/,/)]

Thanks for your help

1 post - 1 participant

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>