2022-10-25 03:48:13 -07:00

10 lines
205 B
Bash

#!/bin/bash
PORT=8090
SUBDOMAIN=db
sudo certbot certonly --agree-tos --nginx --email pockethost@benallfree.com -d $SUBDOMAIN.pockethost.io
NGINX_CONFIG=envsubst < nginx-template.conf
echo $NGINX_CONFIG