1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/nginx/start.sh

8 lines
155 B
Bash
Raw Normal View History

#!/bin/sh
if [[ ! -z ENABLE_CERTBOT && ! -f /certs/cert.pem ]]; then
cp /etc/nginx/nginx.conf.fallback /etc/nginx/nginx.conf
fi
nginx -g 'daemon off;'