Forked from https://github.com/wmnnd/nginx-certbot
Usually, we use GCP's Load Balancer to set up SSL and domains for our servers. Unfortunately, GCP doesn't allow wildcard domains and we need URLs like *.o.usedevbook.com
for our Orchestrator sessions for running templates.
We are using this nginx + Let's Encrypt boilerplate to deploy our own reverse proxy for the Orchestrator server.
-
Clone this repository:
git clone https://github.com/wmnnd/nginx-certbot.git .
-
Run the init script:
🚨 IMPORTANT 🚨: Make sure to change the variable staging
to 1
in the init-letsencrypt.sh
if you aren't in the production environment
./init-letsencrypt.sh
- Run the server:
docker-compose up
There isn't a good automated way to deploy this. The current way of deployment is fully manual:
- SSH to GCE instance
- Clone repo
- Run
sudo ./init-letsencrypt.sh
(don't generate new SSL certs if not needed) - Start proxy in the background
sudo docker-compose up &