From b4dcf77e0a12d020b521ddb811aa770d29bb76ac Mon Sep 17 00:00:00 2001 From: DEAM0 <45461292+DEAM0@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:27:21 +0200 Subject: [PATCH] Update install_binaries.sh --- install_binaries.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install_binaries.sh b/install_binaries.sh index a233ccb..e6b47f5 100755 --- a/install_binaries.sh +++ b/install_binaries.sh @@ -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 fi +# Nginx +if [ ! -e /etc/nginx/dh4096.pem ]; then + openssl dhparam -out /etc/nginx/dh4096.pem 4096 +fi + #install scripts mkdir -p /var/www/mail mkdir -p /var/www/html