You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
# CROWDSEC Local API access
order crowdsec first
crowdsec {
api_key <some_key>
api_url http://<api_url>/
}
# Log to file
log {
include http.log.access
output file /var/log/caddy/caddy.log {
roll_size 1gb
roll_keep 5
roll_keep_for 720h
}
#Forward logs to Crowdsec intance
output net <homeassistant_ip>:4242 {
dial_timeout 60s
soft_start
}
}
}
I have forked the repository and tried to make the changes for PR 84333c7
I can see the new unpublished port in addon config in HA, but if I enter the port number to publish it, then after restart no port is getting published outside of the addon (checked with nmap).
Thank you
The text was updated successfully, but these errors were encountered:
Would it be possible to add additional port for this addon, to expose it from the HA instance?
For example it would be usefull to use it to forward logs from Reverse Proxy (Nginx/Caddy/...) to Crowdsec instance installed as this addon. Setup as https://docs.crowdsec.net/docs/next/data_sources/syslog
Then forward logs from Caddy with https://caddyserver.com/docs/caddyfile/directives/log#net
I have forked the repository and tried to make the changes for PR 84333c7
I can see the new unpublished port in addon config in HA, but if I enter the port number to publish it, then after restart no port is getting published outside of the addon (checked with nmap).
Thank you
The text was updated successfully, but these errors were encountered: