Now let’s try to automate the certificate generation. For this I am going to refer to a post published on a site called pbxhacks.com. Please do exercise caution when you try the scripts below as they will change all the TXT
records in your domain.
Enable HTTPS on your Website for Free
It’s true. You do not have to pay 200 bucks just to get HTTPS working on your Website.
An Ingress with HTTPS Traffic in Upstream Servers, HTTPS Redirection and Sticky Sessions( IBM)
IBM has done a very good job on their Ingress Documentation.
These are the annotations needed.
For HTTPS Redirection,
Securing HTTP Traffic to Upstream Servers using NGINX
How do you secure your backend using HTTPS? I will create a Swagger Node Project to show you how.
Custom Domains for GitHub Pages
GitHub Documentation on Setting up Custom Domains will not that great if you do not know what you are supposed to do.
Here’s what you need to do to setup your own Subdomain.
Create a CNAME
file on your repo root. Then push your code to GitHub.