Skip to content

Commit 4322fa7

Browse files
authored
I don't think this ever worked
1 parent 06bb935 commit 4322fa7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh
22

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

0 commit comments

Comments
 (0)