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;