HAProxy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
sudo apt install haproxy=2.4.\* | sudo apt install haproxy=2.4.\* | ||
haproxy -v | haproxy -v | ||
==Reverse Proxy== | |||
frontend http-in | |||
bind *:80 | |||
mode http | |||
acl path-prefix-is-minio path_beg /minio/ | |||
use_backend minio if path-prefix-is-minio | |||
backend minio | |||
server minio1 127.0.0.1:9801 | |||
mode http | |||
==References== | ==References== |
Revision as of 10:48, 4 April 2023
sudo apt install haproxy sudo apt install --no-install-recommends software-properties-common sudo add-apt-repository ppa:vbernat/haproxy-2.4 -y sudo apt install haproxy=2.4.\* haproxy -v
Reverse Proxy
frontend http-in bind *:80 mode http acl path-prefix-is-minio path_beg /minio/ use_backend minio if path-prefix-is-minio backend minio server minio1 127.0.0.1:9801 mode http