Change dh param gen to function

This commit is contained in:
2023-09-10 11:25:55 +02:00
parent 96e6d0d3ba
commit 862929cd51
7 changed files with 11 additions and 8 deletions

View File

@ -181,7 +181,7 @@ server {
}
EOF
openssl dhparam -out /etc/nginx/dhparam.pem 4096
generate_dhparam
systemctl daemon-reload
systemctl enable --now gitea