1
0
ansible-openappsec/roles/openappsec/tasks/nginx/config.yaml

22 lines
458 B
YAML
Raw Permalink Normal View History

2024-02-06 07:49:42 +01:00
---
# configure dhparam file
- name: 'configure - dhparam'
ansible.builtin.copy:
src: 'files/nginx/dhparam.pem'
dest: '/etc/nginx/dhparam.pem'
owner: 'root'
group: 'root'
mode: '0644'
notify: 'restart nginx'
# configure nginx
- name: 'config - configure nginx'
ansible.builtin.copy:
src: 'files/nginx/nginx.conf'
dest: '/etc/nginx/nginx.conf'
owner: 'root'
group: 'root'
mode: '0644'
notify: 'restart nginx'