Skip to content

Commit b85d217

Browse files
Remove comment code.
1 parent b84764f commit b85d217

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/nginx/entrypoint.sh

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
#! /bin/sh
2-
32
sed "s|{{SUBDOMAINS}}|${SUBDOMAINS}|g" /base.conf | tee /etc/nginx/conf.d/base.conf
43
sed -i "s|{{URL}}|${URL}|g" /etc/nginx/conf.d/base.conf
54
sed -i "s|{{MINIO_SERVER}}|${MINIO_SERVER}|g" /etc/nginx/conf.d/base.conf
6-
# tail -f /dev/null
7-
85
nginx -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

0 commit comments

Comments
 (0)