Skip to content

Commit

Permalink
Fix Nginx reload
Browse files Browse the repository at this point in the history
  • Loading branch information
wakibi authored and edwinmp committed Feb 17, 2021
1 parent 89c75a3 commit 5666564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions certbot_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
working_directory=/root/ddw-analyst-ui
#If successful copy certs to the correct folder and refresh nginx docker node
cd $working_directory
cp -f /etc/letsencrypt/live/ddw.devinit.org/privkey.pem /root/ddw-analyst-ui/ssl/
cp -f /etc/letsencrypt/live/ddw.devinit.org/privkey.pem /root/ddw-analyst-ui/ssl/
cp -f /etc/letsencrypt/live/ddw.devinit.org/fullchain.pem /root/ddw-analyst-ui/ssl/

cp -f /etc/letsencrypt/live/api.devinit.org/privkey.pem /root/ddw-analyst-ui/ssl/spotlights_privkey.pem
cp -f /etc/letsencrypt/live/api.devinit.org/privkey.pem /root/ddw-analyst-ui/ssl/spotlights_privkey.pem
cp -f /etc/letsencrypt/live/api.devinit.org/fullchain.pem /root/ddw-analyst-ui/ssl/spotlights_fullchain.pem

command docker-compose exec ddw-analyst-ui_nginx_1 nginx reload
command docker-compose exec nginx nginx -s reload

0 comments on commit 5666564

Please sign in to comment.