You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/nginx/start.sh

8 lines
155 B
Bash

#!/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;'