From 3ca2771ebe50c219f9c79de34bc020f6fd5b5b77 Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Wed, 16 Sep 2026 16:06:31 -0300 Subject: [PATCH] =?UTF-8?q?Agregar=20control=20de=20cach=C3=A9=20no-cache?= =?UTF-8?q?=20para=20index.html=20en=20nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index 5217146..7d78c03 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,6 +15,10 @@ server { try_files $uri $uri/ /index.html; } + location = /index.html { + add_header Cache-Control "no-cache"; + } + location ~* \.(?:js|css|svg|png|jpg|jpeg|gif|ico|webp|woff2?)$ { expires 1y; add_header Cache-Control "public, immutable";