From a2c85d94939710652f62a4569b0c4e33bc6b43e3 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 5 Nov 2023 01:06:56 -0500 Subject: [PATCH] Add demo.bbaovanc.com/staging --- conf.d/demo.bbaovanc.com | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/conf.d/demo.bbaovanc.com b/conf.d/demo.bbaovanc.com index 9efb37d..8578cfe 100644 --- a/conf.d/demo.bbaovanc.com +++ b/conf.d/demo.bbaovanc.com @@ -3,11 +3,20 @@ demo.bbaovanc.com { import hsts - header Cache-Control no-store - header X-Robots-Tag noindex root * /var/www/demo.bbaovanc.com - file_server { - browse + handle /staging/* { + header Cache-Control no-cache + file_server { + browse + precompressed br gzip + } + } + handle { + header Cache-Control no-store + header X-Robots-Tag noindex + file_server { + browse + } } import basicerrors