anubis : séparation cookies

reverseproxy
Pyjacpp 2026-08-14 18:01:11 +02:00
parent 12fe631737
commit f49423d26c
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 4 additions and 1 deletions

View File

@ -175,7 +175,10 @@ in
BIND_NETWORK = "unix";
METRICS_BIND = "/run/anubis/anubis-${vhostName}/anubis-${vhostName}-metrics.sock";
TARGET = "unix:///run/nginx/nginx-${vhostName}.sock";
COOKIE_DOMAIN = "crans.${mainTld}";
COOKIE_DOMAIN = "${vhostName}.crans.${mainTld}";
# TODO: db pour mettre en commun les token.
# Transitoirement on les sépare
COOKIE_PREFIX = "anubis-${vhostName}";
REDIRECT_DOMAINS = "${vhostName}.crans.${mainTld}";
SOCKET_MODE = "0660";
# Secret partagé entre les instances