This collection provides roles to securely install and configure nginx.
ansible-galaxy collection install hasnimehdi91.secure_nginx
- name: Test
hosts: all
become: no
connection: local
roles:
# Install nginx
- hasnimehdi91.secure_nginx.install
# Install ModSecurity web application firewall
- hasnimehdi91.secure_nginx.mod_security