Skip to content

Commit

Permalink
fix: Fix certbot script
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Mar 22, 2024
1 parent f1522cb commit 32b70c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ssl_renew.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

cd .. # go to parent folder
docker compose -f docker-compose.prod.yml run certbot renew --webroot --webroot-path=/var/www
2 changes: 2 additions & 0 deletions scripts/ssl_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ while true; do
fi
done

cd .. # go to parent folder

# Replace the placeholder domain in the configuration file
sed -i "s/www.domain.com/$domain/g" ./nginx/nginx.dev.conf
sed -i "s/www.domain.com/$domain/g" ./nginx/nginx.prod.conf
Expand Down

0 comments on commit 32b70c7

Please sign in to comment.