The next part of server hardening with Ansible is released today: The ansible-nginx-hardening role.
This role hardens your existing nginx installations (version 1.0.15 or later).
This time we tried to make sure that the hardening role works with popular nginx installation roles, so if you use any of the following (great!) roles to manage your nginx, you can use our hardening role:
We also tried to provide good documentation on the various settings and think that it turned out very well, but see for yourself.
We’re supporting this role on Debian- and Enterprise Linux-based operating systems, but we’ll also try our best in helping you run the role on other systems! Just open up an issue or pull request or join our Gitter Chatroom to chat directly with us!
Be sure to follow us on Twitter for the latest updates.