Nope, nope wrong config.

This commit is contained in:
Root User 2026-02-14 12:17:49 +01:00
parent 9b7d1ca52d
commit c5bf309d5b
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -64,22 +64,22 @@ in {
PUBLIC_URL = "https://anubis.prg-radio.org";
# Cookie domain for proper scoping
COOKIE_DOMAIN = ".prg-radio.org,prg-radio.org";
COOKIE_DOMAIN = ".prg-radio.org";
# Difficulty level
DIFFICULTY = 7;
#ALGOTIHM = "slow";
# This prevents Anubis from looping
# See: https://github.com/TecharoHQ/anubis/issues/970
JWT_RESTRICTION_HEADER = "CF-Connecting-IP";
# Optional: serve robots.txt
SERVE_ROBOTS_TXT = true;
# Optional: webmaster email for error pages
WEBMASTER_EMAIL = "dtu.prg@gmail.com";
# Prevents infinite loop of doom:
#
JWT_RESTRICTION_HEADER="CF-Connecting-IP,X-Real-IP";
# Metrics on separate port
METRICS_BIND_NETWORK = "tcp";
METRICS_BIND = "127.0.0.1:8091";
@ -90,6 +90,7 @@ in {
COOKIE_SAME_SITE = "None"; # Only if Secure=true and you need cross-site
};
};
};
};