fastcgi_cache do not work DA 1.6

itdungpt

Verified User
Joined
Aug 8, 2015
Messages
24
My /usr/local/directadmin/conf/directadmin.conf
nginx_proxy_buffering=1
...................................................

/etc/nginx/nginx-fastcgi-cache.conf
fastcgi_cache_path /var/run/nginx-fastcgi-cache levels=1:2 keys_zone=FASTCGICACHE:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;

My /etc/nginx/nginx_limits.conf
............................................................
fastcgi_cache FASTCGICACHE;

But fastcgi cache do not work. Please help me fix it.
Thanks all so much !

I'm using Directadmin 1.6 nginx_apache web server and php-fpm



I can not find

location ~ \.php$ {
..................................................................
}
 
Last edited:
Back
Top