From 0ee664f6d03b08926973744ed668f5e44d959dbf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 16 Dec 2024 02:29:39 +0100 Subject: [PATCH] `docker`: Add caddy configuration for `apub_inbox` --- acrate_docker/config/caddy/Caddyfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/acrate_docker/config/caddy/Caddyfile b/acrate_docker/config/caddy/Caddyfile index 6514746..0d87a18 100644 --- a/acrate_docker/config/caddy/Caddyfile +++ b/acrate_docker/config/caddy/Caddyfile @@ -13,4 +13,22 @@ health_uri "/.healthcheck" health_status "204" } + + @inbox { + path "/inbox" + } + + reverse_proxy @inbox { + to "http://inbox" + + health_uri "/.healthcheck" + health_status "204" + } +} + +{ + admin { + origins "127.0.0.1" + enforce_origin + } }