···11localhost {
22+ log {
33+ level debug
44+ }
55+26 @anubis {
33- path / # don't let AI scrapers list files!
44- path /.within.website/* # required
77+ # This matcher allows you to select specific paths for Anubis to handle.
88+ # If you want to handle all paths, remove this block and use `anubis {...}` instead!
99+ path / # don't let AI scrapers browse the file index
1010+ path /.within.website/* # required for anubis to work
1111+1212+ not path /api/* # exclude api routes from anubis
513 }
614715 anubis @anubis {
1616+ # This setting gets overridden a lot by the default bot policy.
1717+ difficulty 4
1818+1919+ # Custom bot policy
2020+ policy_fname example/botPolicy.yaml
2121+822 # FIXME: required for OpenGraph passthrough!
99- ## TODO: access backend directly somehow?
2323+ ## TODO: access upstream directly somehow?
1024 ## otherwise anubis may trigger itself
1125 ## additionally, https://github.com/TecharoHQ/anubis/issues/329
1226 # target http://localhost:8080