HAProxy - 2 methods for https routing

Recently, there was a project to connect an https web server existing in a private network through the Internet. It is possible to use a VPN, but I decided to study how to use HAProxy. Please refer to the previous blog for HAProxy installation and basic usage. <Configuration I want to implement> Prerequisite A web server, a certificate, etc. are required to test the content of this article. The following 3 articles show how to easily build an https web server using Python Prask. Please refer to the building a https web server for testing. Python Flask - Running a simple web server Python Flask - Give domain name to Flask WebServer Python Flask - Give https to Flask WebServer Be Careful : If you test homepages such as https://www.google.com and https://www.facebook.com , redirects occur frequently. So it is difficult to test accurately. If possible, I recommend creating a simple https web service to test it yourself. <My test configuration> Simplest configuration The...