Description
Is there an existing issue for this?
- I have searched the existing issues
Name of mod
crowdsec
Name of base container
swag
Current Behavior
Endless log error, I don't want to any captha service anyway
[lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
nginx: [error] [lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
Expected Behavior
No response
Steps To Reproduce
Just normal setup
Environment
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
swag:
container_name: ${proxydmz_swag_name}
image: lscr.io/linuxserver/swag
# cap_add:
# - NET_ADMIN
<<: [*config, *dns]
networks:
eth2:
ipv4_address: ${proxydmz_swag_ip}
proxydmz-netsocketproxy:
proxydmz-crowdsec:
ports:
- 443:443
- 80:80
volumes:
- ${dockerdir}/WebProxyDMZ/SWAG:/config
environment:
- PUID
- PGID
- TZ
- DOCKER_MODS=linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-crowdsec
- CROWDSEC_API_KEY=${proxydmz_crowdsec_lapi_key}
- CROWDSEC_LAPI_URL=crowdsec:8080
- CROWDSEC_MODE=stream
- CROWDSEC_UPDATE_FREQUENCY=10
- CROWDSEC_APPSEC_URL=crowdsec:7422
- URL=fsdfdfsdfsdfsfdsdffd
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=cloudflare
Container logs
nginx: [error] [lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
nginx: [error] [lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
nginx: [error] [lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
nginx: [error] [lua] crowdsec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lua/crowdsec/crowdsec.lua:104: attempt to concatenate field 'APPSEC_HOST' (a nil value)
stack traceback:
/usr/local/lua/crowdsec/crowdsec.lua:104: in function 'init'
init_by_lua(http.d/crowdsec_nginx.conf:4):3: in main chunk
Metadata
Metadata
Assignees
Type
Projects
Status
Issues