[Support] HAProxy


Recommended Posts

Application: HAProxy - https://www.haproxy.org/

Docker Hub: https://hub.docker.com/_/haproxy

GitHub: https://github.com/docker-library/haproxy

HAProxy is a free, open source high availability solution, providing load balancing and proxying for TCP and HTTP-based applications by spreading requests across multiple servers. It is written in C and has a reputation for being fast and efficient (in terms of processor and memory usage).

Please use this support for unraid/docker issues/questions only.
This is official haroxy image and it does not come with any default configuration, so container did not start properly unless You made some configuration. You can use my example: https://raw.githubusercontent.com/vrx-666/unraid-xml/master/conf/haproxy.cfg

 

Container Settings:

bridge network can be used, if You want to reverse-proxying http/https port and have another application listen on this port, Custom network can be used too
configuration directory - is mandatory, should point to folder, where You save configuration file (haproxy.cfg)

http port - port which haproxy will be listening, could be removed

https port - port which haproxy will be listening, could be removed
Another ports could be added.

 

HAProxy docs can be found here: https://www.haproxy.org/#docs

Link to comment
  • 4 weeks later...

hi i have question if haproxy do what i need?

i have a Pfsense Box  with IPS that use a NordVPN and some IPS that just go out the WAN bypassing the VPN for xbox and gaming machine..

 

now i also use  unraids lancache  for caching game installs and windows updates..  but the problem is   dns upstream  if i leave it for 1.1.1.1  it works for the WAN connectings but leaks  dns on VPN  clients..  

if i set the upstream to 192.168.0.1    the WAN connections cant seem to resolve all dns connections  like amazon..  dns failure..

i was looking at seeing if i could run 2 Lancache dockers same time.. 1 for VPNs 1 for WAN and use the same cache drive

 

but you mention load balancing  spreading requests

will this work ?

 

VPN or WAN    goto lancache  then points to haproxy and it will use 192.168.0.1 for certain ips and 1.1.1.1 for other IPs? and balance it.. or if it doesnt waht does the Haproxy do.. and what would i be looking for

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.