localhost { @anubis { # This matcher allows you to select specific paths for Anubis to handle. # If you want to handle all paths, remove this block and use `anubis {...}` instead! path / # don't let AI scrapers browse the file index path /.within.website/* # required for anubis to work not path /api/* # exclude api routes from anubis } log http.handlers.anubis { level DEBUG } anubis @anubis { # This setting gets overridden a lot by the default bot policy. difficulty 4 # Custom bot policy policy_fname example/botPolicy.yaml # FIXME: required for OpenGraph passthrough! ## TODO: access upstream directly somehow? ## otherwise anubis may trigger itself ## additionally, https://github.com/TecharoHQ/anubis/issues/329 # target http://localhost:8080 } file_server browse }