Metadata
- Source
- INFRA-90
- Type
- Task
- Priority
- Major
- Status
- Resolved
- Resolution
- Fixed
- Assignee
- Giovanni Tirloni
- Reporter
- Giovanni Tirloni
- Created
2017-07-08T07:58:56.316-0400 - Updated
2017-09-21T10:33:23.090-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
- N/A
Description
Best practices says .git directories should be protected unless we have a good reason to make them public.
This is not so critical for us because all our projects are open source and we don't store confidential information in git repositories.
Comments
-
Giovanni Tirloni commented
2017-09-21T10:33:23.087-0400 Rules have been added to Nginx site configuration to protect these directories.
https://github.com/idi-ops/ansible-nginx-php/blob/master/templates/nginx/wordpress.conf.j2#L30-L32
https://github.com/idi-ops/ansible-nginx-static/blob/master/templates/generic.conf.j2#L41-L43