Like the title suggests, I am trying to configure my server to serve traffic with HTTPS. I am already able to expose the server and receive information from it, just simply without HTTPS.
There are a few interesting details that I will get into, but this is the main goal.
- I have a Go server running on a Raspberry Pi on my home network that I am using as a personal API.
- I port-forwarded port 80 and 443 of my home network and pointed it to my Raspberry Pi's static ip address
- I own a domain that I am pointing to my home network IP.
- My go server is running on port 8088, so I use Nginx to forward requests from the base IP to my server's port.
So far this is all working perfectly, except I would like to allow my server to utilize HTTPS.
My question is I have a lot of moving parts in this setup, so what would be responsible for ensuring HTTPS:
- The domain?
- My Nginx config?
- The server itself?
- A combination of all of the above.
I am unsure.
Just looking for some direction in enabling HTTPS for this server, thanks!