diff --git a/nginx/default.conf b/nginx/default.conf index 396852e2e..51165243b 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -27,7 +27,7 @@ server { # listen [::]:80; # listen 80; # -# server_name you-domain.com www.you-domain.com; +# server_name your-domain.com www.your-domain.com; # # location ~ /.well-known/acme-challenge { # allow all; @@ -35,18 +35,18 @@ server { # } # # # redirect http to https www -# return 301 https://www.you-domain.com$request_uri; +# return 301 https://www.your-domain.com$request_uri; #} # #server { # listen [::]:443 ssl http2; # listen 443 ssl http2; # -# server_name you-domain.com; +# server_name your-domain.com; # # # SSL code -# ssl_certificate /etc/nginx/ssl/live/you-domain.com/fullchain.pem; -# ssl_certificate_key /etc/nginx/ssl/live/you-domain.com/privkey.pem; +# ssl_certificate /etc/nginx/ssl/live/your-domain.com/fullchain.pem; +# ssl_certificate_key /etc/nginx/ssl/live/your-domain.com/privkey.pem; # # location / { # proxy_pass http://web; diff --git a/prod-docker-compose.yml b/prod-docker-compose.yml index 5f5ac9c6d..0ace0df0a 100644 --- a/prod-docker-compose.yml +++ b/prod-docker-compose.yml @@ -18,7 +18,7 @@ services: - media_volume:/app/images certbot: image: certbot/certbot:latest - command: certonly --webroot --webroot-path=/var/www/certbot --email mouse.reeve@gmail.com --agree-tos --no-eff-email -d bookwyrm.social -d www.bookwyrm.social + command: certonly --webroot --webroot-path=/var/www/certbot --email your-email@domain.com --agree-tos --no-eff-email -d your-domain.com -d www.your-domain.com volumes: - ./certbot/conf:/etc/letsencrypt - ./certbot/logs:/var/log/letsencrypt