Skip to content

Commit

Permalink
Docs: separate port 80 and 443 remote haproxy sections
Browse files Browse the repository at this point in the history
Prior to this change, HAproxy would send all remote incoming traffic
(both HTTP and HTTPS) to port 443 on the CRC VM. Remote HTTPS
connections worked, but remote HTTP connections failed.

Split the "apps" configuration into two separate sections: "apps" and
"apps_ssl". Each section will handle traffic on TCP 80 or TCP 443.
  • Loading branch information
ktdreyer authored and kowen-rh committed Nov 12, 2020
1 parent 0a4646a commit 9d20e9f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/source/topics/proc_setting-up-remote-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,22 @@ defaults
frontend apps
bind 0.0.0.0:80
bind 0.0.0.0:443
option tcplog
mode tcp
default_backend apps
frontend apps_ssl
bind 0.0.0.0:443
option tcplog
mode tcp
default_backend apps_ssl
backend apps
mode tcp
balance roundrobin
server webserver1 $CRC_IP:80 check
backend apps_ssl
mode tcp
balance roundrobin
option ssl-hello-chk
Expand Down

0 comments on commit 9d20e9f

Please sign in to comment.