# Calculate exec=/bin/bash exists(/etc/nginx/ssl/nginx.key)==||exists(/etc/nginx/ssl/nginx.crt)==
openssl req -x509 -subj "/CN=_" -nodes -days 3650 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt &>/dev/null

true
