1
0
Fork 0
forked from infra/ansible
infra-ansible/roles/anubis/templates/default.env.j2

23 lines
751 B
Django/Jinja

# most of the configuration is done in the policy file
# https://anubis.techaro.lol/docs/admin/installation
# Anubis listens to this IP:PORT
BIND="127.0.0.1:8987"
# IP:PORT of the desired web app
TARGET="http://127.0.0.1:8345"
# Custom policies will live here once they are ready (package needs to be fixed)
POLICY_FNAME=/etc/anubis/policies.yaml
{% if anubis_base_prefix is defined %}
# Protect only {{ anubis_base_prefix }} endpoint
# https://anubis.techaro.lol/docs/admin/installation#using-base-prefix
BASE_PREFIX={{ anubis_base_prefix }}
{% endif %}
{% if anubis_debug is defined %}
# Debug logging - shows all requests, evaluations, and detailed diagnostics
# https://anubis.techaro.lol/docs/admin/installation
SLOG_LEVEL=DEBUG
{% endif %}