From 7a291f0b51cb918faaced71cdc23928da107b447 Mon Sep 17 00:00:00 2001 From: afterlifepro Date: Thu, 27 Nov 2025 19:57:38 +0000 Subject: [PATCH] just hardcode dongs.zip i give up lmao --- caddy/Caddyfile | 91 ++++++++++++++++++++++++------------------------- compose.yaml | 1 - 2 files changed, 45 insertions(+), 47 deletions(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 461b80c..c6fe958 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -34,11 +34,54 @@ www.{$HOST:localhost} { redir https://{$HOST:localhost}{uri} } -{$DONG:dong-zip.localhost} { +http://dongs.zip { + redir https://dongs.zip{uri} +} + +https://dongs.zip { log dong { output stdout format console } + + # atproto thing + handle /.well-known/atproto-did { + header Access-Control-Allow-Origin "*" + respond "did:web:dongs.zip" + } + + handle /.well-known/did.json { + header Content-Type "application/json" + header Access-Control-Allow-Origin "*" + respond <