From 0dcdd8415fefa6321a7e21636ac397e1090bc7d8 Mon Sep 17 00:00:00 2001 From: gitea Date: Sun, 21 Feb 2021 05:56:55 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'octobercms.conf'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- octobercms.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/octobercms.conf b/octobercms.conf index 1cb11fe..989c7dd 100644 --- a/octobercms.conf +++ b/octobercms.conf @@ -2,6 +2,12 @@ location / { rewrite ^/.*$ /index.php last; } + + location ~ ^/combine.*\.(css|js) { + rewrite ^/.*$ /index.php last; + expires max; + } + # Whitelist ## Let October handle if static file not exists location ~ ^/favicon\.ico { try_files $uri /index.php; }