mount fastcgi_cache to memory tmpfs for Nginx
I need more speed on nginx, the speed faster than the disk is memory, so I create a tmpfs, and put all the cache file into it.
I need more speed on nginx, the speed faster than the disk is memory, so I create a tmpfs, and put all the cache file into it.
A note for myself to exaplain fastcgi_cache_path, levels, keys_zone, max_size, inactive, use_temp_path As documentation said, nginx will keep all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. As a matter of completeness, lets break down per part /var/cache/nginx is the place where the actual cache stored. Inside the …
Understanding fastcgi_cache_path, levels, keys_zone, max_size, inactive, use_temp_path Read More »
I’ve removed and uninstall the some plugins, and I would like to prevent it display some error or 404, so I apply this way to nginx.conf redirection. If you want to redirect permanent, then you can use 302.
Upgarding DirectAdmin, and hit with this error. What I found from Google 1.60.1 fixes it (it was backported to 1.60 about an hour ago too, so, those latest releases not affected). It should have affected boxes only with additional free IPs and nginx. I have updated directadmin to latest version 1.61 but still Nginx not …
nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed Read More »