From 1b62d8af455adc59b857bf3f97a803402fce709f Mon Sep 17 00:00:00 2001 From: Inex Code Date: Mon, 1 Jul 2024 19:13:48 +0400 Subject: [PATCH] fix: Remove 10m caching --- sp-modules/bitwarden/module.nix | 1 - sp-modules/gitea/module.nix | 1 - sp-modules/ocserv/module.nix | 1 - sp-modules/pleroma/module.nix | 1 - webserver/nginx.nix | 2 -- 5 files changed, 6 deletions(-) diff --git a/sp-modules/bitwarden/module.nix b/sp-modules/bitwarden/module.nix index cd0a38a..5f4b799 100644 --- a/sp-modules/bitwarden/module.nix +++ b/sp-modules/bitwarden/module.nix @@ -106,7 +106,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; locations = { "/" = { diff --git a/sp-modules/gitea/module.nix b/sp-modules/gitea/module.nix index 2f9a8b3..3a1deb9 100644 --- a/sp-modules/gitea/module.nix +++ b/sp-modules/gitea/module.nix @@ -134,7 +134,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; locations = { "/" = { diff --git a/sp-modules/ocserv/module.nix b/sp-modules/ocserv/module.nix index e1e8c97..b7ebd6b 100644 --- a/sp-modules/ocserv/module.nix +++ b/sp-modules/ocserv/module.nix @@ -73,7 +73,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; }; systemd.services.ocserv.unitConfig.ConditionPathExists = [ cert key ]; diff --git a/sp-modules/pleroma/module.nix b/sp-modules/pleroma/module.nix index 191c3d7..97cda59 100644 --- a/sp-modules/pleroma/module.nix +++ b/sp-modules/pleroma/module.nix @@ -119,7 +119,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; locations = { "/" = { diff --git a/webserver/nginx.nix b/webserver/nginx.nix index db242ed..1857b56 100644 --- a/webserver/nginx.nix +++ b/webserver/nginx.nix @@ -31,7 +31,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; locations = { "/" = { @@ -50,7 +49,6 @@ in add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; - expires 10m; ''; locations = { "/" = {