fix: Remove 10m caching

This commit is contained in:
Inex Code 2024-07-01 19:13:48 +04:00
parent 2d047aa07f
commit 1b62d8af45
5 changed files with 0 additions and 6 deletions

View file

@ -106,7 +106,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
locations = { locations = {
"/" = { "/" = {

View file

@ -134,7 +134,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
locations = { locations = {
"/" = { "/" = {

View file

@ -73,7 +73,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
}; };
systemd.services.ocserv.unitConfig.ConditionPathExists = [ cert key ]; systemd.services.ocserv.unitConfig.ConditionPathExists = [ cert key ];

View file

@ -119,7 +119,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
locations = { locations = {
"/" = { "/" = {

View file

@ -31,7 +31,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
locations = { locations = {
"/" = { "/" = {
@ -50,7 +49,6 @@ in
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
expires 10m;
''; '';
locations = { locations = {
"/" = { "/" = {