Overwrite existing config
This commit is contained in:
parent
bdf88572e8
commit
8b3fcc8699
|
@ -192,7 +192,6 @@ function install_mailpile {
|
|||
chmod +x /etc/systemd/system/mailpile.service
|
||||
|
||||
mailpile_nginx_site=/etc/nginx/sites-available/$MAILPILE_DOMAIN_NAME
|
||||
if [ ! -f $mailpile_nginx_site ]; then
|
||||
if [[ $ONION_ONLY == "no" ]]; then
|
||||
function_check nginx_http_redirect
|
||||
nginx_http_redirect $MAILPILE_DOMAIN_NAME
|
||||
|
@ -251,7 +250,6 @@ function install_mailpile {
|
|||
echo ' proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;' >> $mailpile_nginx_site
|
||||
echo ' }' >> $mailpile_nginx_site
|
||||
echo '}' >> $mailpile_nginx_site
|
||||
fi
|
||||
|
||||
function_check create_site_certificate
|
||||
if [ ! -f /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem ]; then
|
||||
|
|
Loading…
Reference in New Issue