Anubis module for Caddy

add dockerfile

kot.pink fe65e06d 826bf32d

verified
Changed files
+14 -3
example
+2
.gitignore
···
+
caddy
+
caddy.exe
+9
Dockerfile
···
+
FROM caddy:builder AS builder
+
+
RUN xcaddy build \
+
--with pkg.kot.pink/caddy-anubis
+
+
FROM caddy:latest
+
+
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
+
COPY Caddyfile /etc/caddy/Caddyfile
+3 -3
example/Caddyfile
···
# private_key {$ANUBIS_PRIVATE_KEY}
# private_key_file {$ANUBIS_PRIVATE_KEY_FILE}
-
og_passthrough
-
og_expiry_time 24h
+
# og_passthrough
+
# og_expiry_time 24h
# required for OpenGraph passthrough!
## TODO: access backend directly somehow?
## otherwise anubis may trigger itself
## additionally, https://github.com/TecharoHQ/anubis/issues/319
-
target http://localhost:8080
+
# target http://localhost:8080
cookie_domain localhost
cookie_name within.website-x-cmd-anubis-auth