Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harden nginx config #4

Open
jacksingleton opened this issue Oct 27, 2015 · 1 comment
Open

harden nginx config #4

jacksingleton opened this issue Oct 27, 2015 · 1 comment

Comments

@jacksingleton
Copy link
Collaborator

we could look at porting hardening.io's nginx hardening scripts to ansible. they have chef and puppet implementations and even a test suite

Looking at the spec though, it might not be worth the trouble (although I'm sure would be useful to others if we ported it over): https://github.com/hardening-io/tests-nginx-hardening/blob/master/default/serverspec/nginx_spec.rb

Would be pretty quick to add these parameters to our nginx config

Can we find any more resources on a secure nginx setup?

@jacksingleton
Copy link
Collaborator Author

lets take a look at the headers that securedrop has set: https://github.com/freedomofpress/securedrop/blob/2a3c93cf0fa3be87cd77bc8be2ebfb9ced2fc54f/install_files/ansible-base/roles/app/templates/sites-available/source.conf

they aggressively disable caching for example. might be a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant