From ac218b5563ee6035fabfdbed6b8c0c906015d315 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 21 Feb 2021 14:46:22 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index e1990ac..7c9752d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,6 +7,9 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } + fastcgi_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nginx_cache:100m inactive=60m; + fastcgi_cache_key "$scheme$request_method$host$request_uri"; + index index.php; try_files $uri $uri/ /index.php;