Unverified Commit 7f81fa0c authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

parents c33a25e0 12dea281
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {