From 74880ce545d24c6d8ecd0fa6045a3f0b872f3eed Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 2 Mar 2024 09:50:56 +0000 Subject: [PATCH] Update default.conf --- default.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 3b85930..6746597 100644 --- a/default.conf +++ b/default.conf @@ -3,7 +3,12 @@ server { index index.html index.htm index.nginx-debian.html; server_name _; # managed by Certbot - client_max_body_size 100M; + client_max_body_size 100M;# kill cache + add_header Last-Modified $date_gmt; + add_header Cache-Control 'private no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; + if_modified_since off; + expires off; + etag off; location /404 { try_files $uri $uri/ /index.html;