Hello everyone,
I just installed crowdsec and nginx proxy manager with docker and I wanted to test the ban but ca does not work. So here I am asking for help to understand the problem.
I followed this youtube tutorial https://youtu.be/qnviPAMwAuw for the setup.
There are two differences with me. First I prefer to have all volumes in the same directory that the file composes as shown below.
Secondly (and for me this is the cause of the problem) I configured docker in rootless mode to increase security. This means that the logs folders do not have all privileges.
Looking at logs, I see warnings:
level=warning msg="No matching files for pattern/var/log/nginx/*. log" type=file
level=warning msg="No matching files for pattern . /tests/nginx/nginx.log" type=file
Thank you to all who will take the time to help me
in this video we use docker to setup crowdsec for Nginx proxy manager using the image from LePresidente/docker-nginx-proxy-manager to secure/protect proxied services.
crowdsec hub:
https://app.crowdsec.net/hub/
https://www.crowdsec.net/
LePresidente's github page:
https://github.com/LePresidente/docker-nginx-proxy-manager
docker-compose.yml f...