From 5c1892f0e437bc2cf61b0eb75d1c3fd420eff3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Wed, 12 Nov 2025 06:24:10 +0300 Subject: [PATCH] set max age to 12 hours --- nginx/cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/cfg b/nginx/cfg index 834b7c1..c065037 100644 --- a/nginx/cfg +++ b/nginx/cfg @@ -26,7 +26,6 @@ server { root /var/www/html; - # Add index.php to the list if you are using PHP index index.html; server_name _; @@ -36,6 +35,7 @@ server { # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; add_header "Access-Control-Allow-Origin" "*"; + add_header "Cache-Control" "max-age=43200"; # Remove CORS. if ($request_method = "OPTIONS") { add_header "Access-Control-Allow-Origin" "*";