Compare commits

...

2 Commits

2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name example.org;
server_name thelinuxpro.net;
server_tokens off;
location /.well-known/acme-challenge/ {
@ -14,7 +14,7 @@ server {
server {
listen 443 ssl;
server_name example.org;
server_name thelinuxpro.net;
server_tokens off;
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;

View File

@ -5,11 +5,11 @@ if ! [ -x "$(command -v docker-compose)" ]; then
exit 1
fi
domains=(example.org www.example.org)
domains=(thelinuxpro.net thelinux.pro git.thelinuxpro.net kameronkenny.com www.kameronkenny.com blog.kameronkenny.com)
rsa_key_size=4096
data_path="./data/certbot"
email="" # Adding a valid address is strongly recommended
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
email="kkenny379@gmail.com" # Adding a valid address is strongly recommended
staging=1 # Set to 1 if you're testing your setup to avoid hitting request limits
if [ -d "$data_path" ]; then
read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision