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.

4 lines
262 B

  1. {% calculate exec='/bin/bash', not exists('/etc/nginx/ssl/nginx.key') or not exists('/etc/nginx/ssl/nginx.crt') %}
  2. 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
  3. true