Anubis module for Caddy
1:80 {
2 anubis / {
3 difficulty 3
4 serve_robots_txt
5 policy_fname ./botPolicy.json
6 webmaster_email admin@localhost
7
8 # private_key {$ANUBIS_PRIVATE_KEY}
9 # private_key_file {$ANUBIS_PRIVATE_KEY_FILE}
10
11 og_passthrough
12 og_expiry_time 24h
13 # required for OpenGraph passthrough!
14 # TODO: access backend directly somehow?
15 # otherwise anubis may trigger itself
16 # additionally, https://github.com/TecharoHQ/anubis/issues/319
17 target http://localhost:8080
18
19 cookie_domain localhost
20 cookie_name within.website-x-cmd-anubis-auth
21 cookie_partitioned
22 }
23
24 file_server browse
25}