Генерацация dhparam.pem file

openssl dhparam -out /etc/nginx/ssl/dhparam.pem 4096
ssl_dhparam ssl/dhparam.pem;