You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
262 B
5 lines
262 B
3 years ago
|
{% calculate exec='/bin/bash', not exists('/etc/nginx/ssl/nginx.key') or not exists('/etc/nginx/ssl/nginx.crt') %}
|
||
|
openssl req -x509 -subj "/CN=_" -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt &>/dev/null
|
||
|
|
||
|
true
|