Skip to content

Conversation

@w-le
Copy link
Contributor

@w-le w-le commented May 23, 2022

Description of the change

have nginx deny any requests to get files/folders that start with .
This include the .git folder inside all frontend repos, which an attacker could use to grab frontend source.

@w-le w-le requested a review from caspiano May 23, 2022 02:05
@github-actions github-actions bot added the type: chore Tooling; no production code change or library break fix label May 23, 2022
@w-le w-le requested a review from viv-4 May 23, 2022 02:05
@w-le w-le self-assigned this May 23, 2022
@w-le w-le added focus: devops Focus on DevOps/Infra type: security Issue related to Security and removed type: chore Tooling; no production code change or library break fix labels May 23, 2022
@w-le
Copy link
Contributor Author

w-le commented May 23, 2022

I believe this will resolve #17

@w-le
Copy link
Contributor Author

w-le commented May 23, 2022

actually this needs an additional change to deny all contents of the hidden directory. checking nginx conf documentation now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

focus: devops Focus on DevOps/Infra status: in progress type: security Issue related to Security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants