nickjj / ansible-nginx

Install and configure nginx (SSL A+ by default) with Ansible.
MIT License
73 stars 37 forks source link

Self signed ssl filename wrong #10

Closed speedmann closed 6 years ago

speedmann commented 7 years ago

Hi all,

having nginx_ssl_override_filename default to '' will always result in the generated and configured ssl certificates to be name and added to configuration like /etc/nginx/ssl/.pem

Removing it from defaults solves the issue, but I am not sure this is the correct way to do so

nickjj commented 7 years ago

That is definitely the way to do it (your way).

Thanks. This is a bug.

carlos22 commented 6 years ago

Workaround for this is to manually add the first domain to group_vars/app.yml

nginx_ssl_override_filename: 'example.com'