From 5425272b0db7bd77c5ee174406ecb3dbce720088 Mon Sep 17 00:00:00 2001 From: simonmcnair <101189766+simonmcnair@users.noreply.github.com> Date: Thu, 19 Feb 2026 13:36:39 +0000 Subject: [PATCH] Update README.md Is that section still required ? If it is please let me know and if I need to raise a bug for the below: When I added it I got: 2026/02/19 13:33:39 [emerg] 1053#1053: "lua_package_path" directive is not allowed here in /etc/nginx/http.d/crowdsec_nginx.conf:1 2026/02/19 13:33:40 [emerg] 1058#1058: "lua_package_path" directive is not allowed here in /etc/nginx/http.d/crowdsec_nginx.conf:1 Signed-off-by: simonmcnair <101189766+simonmcnair@users.noreply.github.com> --- README.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.md b/README.md index 868ad5a3..6f28c13e 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,5 @@ # CrowdSec - Docker mod for SWAG -## nginx.conf change - -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/ - -```nginx -# 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`