nixos/snipe-it: fix secure flag for cookies (#353009)

This commit is contained in:
Pol Dellaiera 2024-11-04 20:10:24 +01:00 committed by GitHub
commit 7f81fa0cb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,7 +331,7 @@ in {
APP_CONFIG_CACHE = "/run/snipe-it/cache/config.php";
APP_ROUTES_CACHE = "/run/snipe-it/cache/routes-v7.php";
APP_EVENTS_CACHE = "/run/snipe-it/cache/events.php";
SESSION_SECURE_COOKIE = tlsEnabled;
SECURE_COOKIES = tlsEnabled;
};
services.mysql = mkIf db.createLocally {