mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Add SMTP SSL verify mode none
This commit is contained in:
parent
d1326d35f6
commit
e0f511c0ec
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ sudo sed -i "s@OTP_SECRET=@OTP_SECRET=$(head -n32 /dev/urandom | tr -dc -d 'A-Za
|
||||||
|
|
||||||
sudo sed -i "s@SMTP_SERVER=smtp.mailgun.org@SMTP_SERVER=localhost@g" "${final_path}/live/.env.production"
|
sudo sed -i "s@SMTP_SERVER=smtp.mailgun.org@SMTP_SERVER=localhost@g" "${final_path}/live/.env.production"
|
||||||
sudo sed -i 's,SMTP_FROM_ADDRESS=notifications@example.com,SMTP_FROM_ADDRESS='${admin_mastodon}'@'${domain}',' "${final_path}/live/.env.production"
|
sudo sed -i 's,SMTP_FROM_ADDRESS=notifications@example.com,SMTP_FROM_ADDRESS='${admin_mastodon}'@'${domain}',' "${final_path}/live/.env.production"
|
||||||
|
sudo sed -i "s,#SMTP_OPENSSL_VERIFY_MODE=peer,SMTP_OPENSSL_VERIFY_MODE=none" "${final_path}/live/.env.production"
|
||||||
|
|
||||||
# Create database
|
# Create database
|
||||||
# Preconfig CSS & JS
|
# Preconfig CSS & JS
|
||||||
|
|
Loading…
Add table
Reference in a new issue