Merge branch 'master' of github.com:Mailu/Mailu

This commit is contained in:
Pierre Jaury
2017-03-22 19:27:37 +01:00
10 changed files with 124 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
if [ -z ENABLE_CERTBOT ] || [ -f /certs/cert.pem ]
if [ -z $ENABLE_CERTBOT ] || [ -f /certs/cert.pem ]
then
cp /etc/nginx/nginx.conf.default /etc/nginx/nginx.conf
else
@@ -8,4 +8,8 @@ else
cp /etc/nginx/nginx.conf.fallback /etc/nginx/nginx.conf
fi
if [ ! -r /etc/nginx/dhparam.pem ]; then
openssl dhparam -out /etc/nginx/dhparam.pem $NGINX_SSL_DHPARAM_BITS
fi
nginx -g 'daemon off;'