Backport a fix from 14f30b30

master
kaiyou 7 years ago
parent 609524356c
commit b40f3f35ca

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -z ENABLE_CERTBOT ] || [ -f /certs/cert.pem ] if [ -z $ENABLE_CERTBOT ] || [ -f /certs/cert.pem ]
then then
cp /etc/nginx/nginx.conf.default /etc/nginx/nginx.conf cp /etc/nginx/nginx.conf.default /etc/nginx/nginx.conf
else else

Loading…
Cancel
Save