Anubis module for Caddy

fix example

kot.pink 826bf32d c1ea9192

verified
Changed files
+10 -5
example
+10 -5
example/Caddyfile
···
:80 {
-
anubis / {
+
@anubis {
+
path /
+
path /.within.website/* # required
+
}
+
+
anubis @anubis {
difficulty 3
serve_robots_txt
-
policy_fname ./botPolicy.json
+
policy_fname ./example/botPolicy.json
webmaster_email admin@localhost
# private_key {$ANUBIS_PRIVATE_KEY}
···
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
+
## TODO: access backend directly somehow?
+
## otherwise anubis may trigger itself
+
## additionally, https://github.com/TecharoHQ/anubis/issues/319
target http://localhost:8080
cookie_domain localhost