mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
14
roles/nginx/tasks/ssl.yml
Normal file
14
roles/nginx/tasks/ssl.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- import_tasks: ../includes/create_selfsigned_cert.yml
|
||||
vars:
|
||||
- cert_path: /etc/nginx/ssl/cert.pem
|
||||
- cert_key_path: /etc/nginx/ssl/key.pem
|
||||
- cert_user: nginx
|
||||
tags: web
|
||||
|
||||
- name: Create DH param
|
||||
command: openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
|
||||
args:
|
||||
creates: /etc/nginx/ssl/dhparam.pem
|
||||
tags: web
|
||||
|
Reference in New Issue
Block a user