Skip to content

Commit

Permalink
I don't think this ever worked
Browse files Browse the repository at this point in the history
  • Loading branch information
lillian-b authored Mar 26, 2024
1 parent 06bb935 commit 4322fa7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions hosts/www.hacklab.to/nginx-tls-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh

nginx-tls-deploy.sh_deploy() {
cp -r /root/.acme.sh/hacklab.to_ecc/ /etc/nginx/tls/hacklab.to/
chown -R nginx:nginx /etc/nginx/tls/
nginx -s reload
nginx-tls-deploy_deploy() {
mv /etc/nginx/tls/hacklab.to{,.old}
cp -r /root/.acme.sh/hacklab.to_ecc/ /etc/nginx/tls/hacklab.to
chown -R nginx:nginx /etc/nginx/tls/
nginx -s reload
}

0 comments on commit 4322fa7

Please sign in to comment.