haproxy

A 3-post collection

Deploy streamlit app on sub domain for free

By My Ultimate Guide For Everything |  Nov 3, 2023  | streamlit-app, haproxy, subdomain, aws, route-53
Streamlit is a popular Python framework for building and deploying web applications. It makes it easy to create interactive UIs with data visualization and machine learning capabilities. If you have implemented an application/website with streamlit you might be wondering how I can deploy my app online so that others can access and use it. Streamlit provides neat and easy functionality to deploy your app to a default domain. However, if you want to deploy your app to your own custom domain you may need some additional work.
Continue Reading...

Host Multiple Domains Served by haproxy on One EC2 Server

By My Ultimate Guide For Everything |  Jun 28, 2023  | ec2, aws, httpd, virtual-host, ubuntu, haproxy, wordpress, hugo
In the previous post, we explained how to serve multiple domains on one server using apache http server virtual host. In this post we explain the same concept except we will be using haproxy for load balancing and https support. How each domain is served really does not matter here but in my case I’m hosting two websites one served by hugo on 8080 port and another served by wordpress on port 8082.
Continue Reading...

Enable HTTPS using HAproxy and Certbot for free

By My Ultimate Guide For Everything |  May 31, 2023  | https, haproxy, certbot
Enabling HTTPS Support for Your Website with HAProxy and Certbot: A Cost-Free Solution Motivation: In today’s digital landscape, securing your website with HTTPS has become more important than ever. Not only does it enhance user trust and data privacy, but it also positively impacts your website’s search engine rankings. However, acquiring and managing SSL certificates can be a daunting task, often accompanied by high costs. Fortunately, there are open-source tools like HAProxy and Certbot that can help you enable HTTPS support for your website free of charge.
Continue Reading...