Guys,
Happy new year
This is my first post in this forum.
Today i have found a problem in configuring nginx for caching html files that are generating from Apache FPM engine.
I first used this code and added it to /var/www/vhosts/system/DOMAINNAME/conf/vhost_nginx.conf.
fastcgi_cache_path /tmp/cache levels=1:2 keys_zone=MYAPP:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
server {
server_name "DOMAINNAME";
root...
Configure Nginx to cache PHP generated files from PHP-FPM engine
Happy new year
This is my first post in this forum.
Today i have found a problem in configuring nginx for caching html files that are generating from Apache FPM engine.
I first used this code and added it to /var/www/vhosts/system/DOMAINNAME/conf/vhost_nginx.conf.
fastcgi_cache_path /tmp/cache levels=1:2 keys_zone=MYAPP:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
server {
server_name "DOMAINNAME";
root...
Configure Nginx to cache PHP generated files from PHP-FPM engine