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