mirror of
https://github.com/DanWin/mail-hosting.git
synced 2024-11-21 15:10:25 +00:00
commit
1a3be77244
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ if [ ! -e /etc/postfix/danwin1210-mail.chain ]; then
|
||||||
openssl req -x509 -nodes -days 3650 -newkey ed448 -subj "/" -keyout /etc/postfix/danwin1210-mail.key -out /etc/postfix/danwin1210-mail.crt && cat /etc/postfix/danwin1210-mail.key >> /etc/postfix/danwin1210-mail.chain && cat /etc/postfix/danwin1210-mail.crt >> /etc/postfix/danwin1210-mail.chain
|
openssl req -x509 -nodes -days 3650 -newkey ed448 -subj "/" -keyout /etc/postfix/danwin1210-mail.key -out /etc/postfix/danwin1210-mail.crt && cat /etc/postfix/danwin1210-mail.key >> /etc/postfix/danwin1210-mail.chain && cat /etc/postfix/danwin1210-mail.crt >> /etc/postfix/danwin1210-mail.chain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Nginx
|
||||||
|
if [ ! -e /etc/nginx/dh4096.pem ]; then
|
||||||
|
openssl dhparam -out /etc/nginx/dh4096.pem 4096
|
||||||
|
fi
|
||||||
|
|
||||||
#install scripts
|
#install scripts
|
||||||
mkdir -p /var/www/mail
|
mkdir -p /var/www/mail
|
||||||
mkdir -p /var/www/html
|
mkdir -p /var/www/html
|
||||||
|
|
Loading…
Reference in a new issue