File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2-
32sed " s|{{SUBDOMAINS}}|${SUBDOMAINS} |g" /base.conf | tee /etc/nginx/conf.d/base.conf
43sed -i " s|{{URL}}|${URL} |g" /etc/nginx/conf.d/base.conf
54sed -i " s|{{MINIO_SERVER}}|${MINIO_SERVER} |g" /etc/nginx/conf.d/base.conf
6- # tail -f /dev/null
7-
85nginx -g " daemon off;"
9- # nginx
10-
11- # echo "Waiting for initial certs"
12- # while [ ! -d /etc/letsencrypt/archive/${SUBDOMAINS}.${URL} ]; do
13- # sleep 5
14- # done
15-
16- # echo "Enabling SSL feature"
17- # mv /ssl.conf /etc/nginx/conf.d/ssl.conf
18- # nginx -s reload
19-
20- # inotifywait -m /etc/letsencrypt/archive/${SUBDOMAINS}.${URL} |
21- # while read path action file; do
22- # if [ "$(echo $action | grep MODIFY)" ] || [ "$(echo $action | grep CREATE)" ] || [ "$(echo $action | grep MOVE)" ]; then
23- # echo "Renewal: Reloading NGINX since $file issue $action event"
24- # nginx -s reload
25- # fi
26- # done
You can’t perform that action at this time.
0 commit comments