nixos/snipe-it: fix secure flag for cookies

This commit is contained in:
Leona Maroni
2024-11-01 23:36:37 +01:00
parent f366c7cf5a
commit 12dea28165
+1 -1
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 {