caddy now allow only certain ip
This commit is contained in:
@@ -6,8 +6,10 @@
|
||||
}
|
||||
|
||||
{$CADDY_BASE_HOST} {
|
||||
@blocked not remote_ip {$CADDY_ALLOWED_IPS}
|
||||
route {
|
||||
crowdsec
|
||||
respond @blocked "<h1>Access Denied</h1>" 403
|
||||
}
|
||||
encode zstd gzip
|
||||
reverse_proxy http://frontend:3000
|
||||
|
||||
Reference in New Issue
Block a user