Compare commits
2 Commits
62a1c61f54
...
92592fbfa5
Author | SHA1 | Date |
---|---|---|
|
92592fbfa5 | |
|
8779908b16 |
|
@ -1,6 +1,6 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name example.org;
|
server_name thelinuxpro.net;
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
location /.well-known/acme-challenge/ {
|
location /.well-known/acme-challenge/ {
|
||||||
|
@ -14,7 +14,7 @@ server {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name example.org;
|
server_name thelinuxpro.net;
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;
|
||||||
|
|
|
@ -5,11 +5,11 @@ if ! [ -x "$(command -v docker-compose)" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
rsa_key_size=4096
|
||||||
data_path="./data/certbot"
|
data_path="./data/certbot"
|
||||||
email="" # Adding a valid address is strongly recommended
|
email="kkenny379@gmail.com" # Adding a valid address is strongly recommended
|
||||||
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
|
staging=1 # Set to 1 if you're testing your setup to avoid hitting request limits
|
||||||
|
|
||||||
if [ -d "$data_path" ]; then
|
if [ -d "$data_path" ]; then
|
||||||
read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision
|
read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision
|
||||||
|
|
Loading…
Reference in New Issue