feat: remove crowdsec
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
{
|
||||
crowdsec {
|
||||
api_url http://crowdsec:8080
|
||||
api_key {$CROWDSEC_API_KEY}
|
||||
}
|
||||
servers {
|
||||
trusted_proxies static private_ranges
|
||||
trusted_proxies_strict
|
||||
@@ -26,14 +22,12 @@
|
||||
|
||||
auth.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
reverse_proxy authelia:9091
|
||||
}
|
||||
}
|
||||
|
||||
www.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
import secure *
|
||||
|
||||
root * /var/www/dashboard
|
||||
@@ -52,7 +46,6 @@ www.64815139.xyz {
|
||||
|
||||
gitea.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
rewrite /user/login /user/oauth2/Authelia
|
||||
reverse_proxy 192.168.0.216:3000
|
||||
}
|
||||
@@ -60,21 +53,18 @@ gitea.64815139.xyz {
|
||||
|
||||
immich.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
reverse_proxy 192.168.0.216:2283
|
||||
}
|
||||
}
|
||||
|
||||
uptime.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
reverse_proxy 192.168.0.216:4393
|
||||
}
|
||||
}
|
||||
|
||||
oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR.64815139.xyz {
|
||||
route {
|
||||
crowdsec
|
||||
reverse_proxy 192.168.0.216:4449
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,9 +4,7 @@ FROM caddy:${CADDY_VERSION}-builder-alpine AS builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/mholt/caddy-l4 \
|
||||
--with github.com/caddyserver/transform-encoder \
|
||||
--with github.com/hslatman/caddy-crowdsec-bouncer/http@main \
|
||||
--with github.com/hslatman/caddy-crowdsec-bouncer/layer4@main
|
||||
--with github.com/caddyserver/transform-encoder
|
||||
|
||||
FROM caddy:${CADDY_VERSION} AS caddy
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
filenames:
|
||||
- /var/log/caddy/*.log
|
||||
labels:
|
||||
type: caddy
|
||||
Reference in New Issue
Block a user