mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge 5425272b0db7bd77c5ee174406ecb3dbce720088 into 9156249068e358e5c73389f5cab7c29efc8ca20d
This commit is contained in:
commit
14482d2304
@ -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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user