1
0
Fork 0

Set ssl_protocols to TLSv1.2 and TLSv1.3

This commit is contained in:
Daniele Tricoli 2021-02-09 01:10:38 +01:00
parent 9440abe704
commit ac6bff1e72

View file

@ -29,6 +29,12 @@
mode: 0640
notify: systemctl reload nginx
- name: set ssl_protocols to TLSv1.2 TLSv1.3
lineinfile:
path: /etc/nginx/nginx.conf
regexp: "^(.*)ssl_protocols"
line: "\tssl_protocols TLSv1.2 TLSv1.3;"
- import_tasks: create-vhosts.yml
become: "{{ nginx_become }}"