Posted by lameski on November 29, 2018 at 10:45am
Hi everyone, I have been working on how my drupal7 website can benefit from the caching system of nginx using FASTCGI cache configuration on virtualmin with no success. Do we have anyone who can help with an idea on how to do this?
I will appreciate
Thanks
Comments
perusio github project drupal-with-nginx with microcaching
I found the perusio github project drupal-with-nginx to have everything I needed to get my nginx configured to use microcaching. Read the README.md on how to use it.
https://github.com/perusio/drupal-with-nginx
I think what you are looking for can be found in the file: apps/drupal/microcache_fcgi.conf
BTW, thanks António!
Is this applicable with webmin virtualmin nginx configuration
thanks for your swift reply, please, i want to know if this applicable to users of vitualmin webmin in its configuration file.
Should be possible..., but
Ultimately webmin provides a web accessible interface to edit your nginx config files, so yes it should be possible. What perusio has done is to provide info about what to put into the nginx config files to get nginx working with drupal 7 and to have nginx use microcaching. He uses a system of include files to make various optional parts easy to turn on or off, but ultimately the combination of all the includes becomes a single nginx config file. His expectation was shell access though and the ability to edit the individual files.
If you are limited to only using webmin to make your config edits then you will have to work out a way that works for your situation. Maybe you just cut-n-paste the pieces you need to paste them directly into a single config file, in the right order.