From b3ebeb5c7e48fc1f5456a769284d17ded64eabd0 Mon Sep 17 00:00:00 2001 From: SS <23506499+slimshizn@users.noreply.github.com> Date: Thu, 6 Oct 2022 16:37:14 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 06146b3..744a3f2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # CrowdSec - Docker mod for SWAG +## nginx.conf change + +Make sure that the line below under virtual hosts in your nginx.conf, otherwise crowdsec-bouncer will not work. More information here https://info.linuxserver.io/issues/2022-08-20-nginx-base/ + + # Includes virtual hosts configs. + include /etc/nginx/http.d/*.conf; + This mod adds the [CrowdSec](https://crowdsec.net) [nginx bouncer](https://github.com/crowdsecurity/cs-nginx-bouncer/) to SWAG, to be installed/updated during container start. In SWAG docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:swag-crowdsec` From e4ea7e0cd8d37d170b43c8d5f1ce86adfd6bee6f Mon Sep 17 00:00:00 2001 From: SS <23506499+slimshizn@users.noreply.github.com> Date: Tue, 18 Oct 2022 17:55:46 -0400 Subject: [PATCH 2/2] Update README.md fix sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 744a3f2..0483758 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## nginx.conf change -Make sure that the line below under virtual hosts in your nginx.conf, otherwise crowdsec-bouncer will not work. More information here https://info.linuxserver.io/issues/2022-08-20-nginx-base/ +Make sure that the line below, under virtual hosts, is in your nginx.conf, otherwise crowdsec-bouncer will not work. More information here https://info.linuxserver.io/issues/2022-08-20-nginx-base/ # Includes virtual hosts configs. include /etc/nginx/http.d/*.conf;