Set ssl_protocols to TLSv1.2 and TLSv1.3
This commit is contained in:
parent
9440abe704
commit
ac6bff1e72
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue