diff --git a/roles/docker/files/Caddyfile b/roles/docker/files/Caddyfile index 5622d02..17af41e 100644 --- a/roles/docker/files/Caddyfile +++ b/roles/docker/files/Caddyfile @@ -3,7 +3,17 @@ auth.thesatelliteoflove.com { } tasks.thesatelliteoflove.com { - reverse_proxy authentik-server-1:9000 + @allowed { + remote_ip 100.64.0.0/10 + } + + handle @allowed { + reverse_proxy tasksmd:8080 + } + + handle { + respond "Access denied" 403 + } } files.thesatelliteoflove.com {