Solutions · WordPress
www.ejemplo.com: the repository (.git) can be downloaded
With example names (mi-app, /ruta/al/proyecto). In GoTool, in 🛡 Security, this page shows your project's: your container, your compose file, your WordPress folder.
What's happening
https://www.ejemplo.com/.git/ answers: all the code and its history can be downloaded.
Why it matters
The history carries every key that was ever committed, even if it's gone now.
What to do
- Block it in nginx (better, any file starting with a dot):
location ~ /\. { deny all; } - Better still, don't deploy the .git folder: upload the files, not the repository.
- Change the keys in the history: they may have been downloaded.
How to know it's fixed
- It must answer 403 or 404:
curl -sI https://www.ejemplo.com/.git/HEAD | head -1
More
In GoTool, the file with the issue (the Dockerfile, the compose file) is also shown with the solution next to it, and the question for Claude comes ready, with your project's details and without your keys, to paste into your claude.ai.