From 21dc4fc71537aecbf02711426ff18f5c6545b096 Mon Sep 17 00:00:00 2001 From: Sergei Solovev Date: Sat, 25 Nov 2023 00:46:06 +0300 Subject: [PATCH] Update install.sh Minor fixes --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c883354..63036ca 100644 --- a/install.sh +++ b/install.sh @@ -231,12 +231,12 @@ while true; do proxy_set_header X-Forwarded-Proto \$scheme; } - location ~* \.(gif|jpeg|jpg|txt|png|tif|tiff|ico|jng|bmp|doc|pdf|rtf|xls|ppt|rar|rpm|swf|zip|bin|exe|dll|deb|cur)$ { + location ~* /\.(gif|jpeg|jpg|txt|png|tif|tiff|ico|jng|bmp|doc|pdf|rtf|xls|ppt|rar|rpm|swf|zip|bin|exe|dll|deb|cur)$ { access_log off; expires 3d; } - location ~* \.(css|js)$ { + location ~* /\.(css|js)$ { access_log off; expires 180m; }