caddy now allow only certain ip

This commit is contained in:
2024-05-10 12:28:22 +07:00
parent 8f90a5031a
commit 0cf9d60991

View File

@@ -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