Configuring Drupal 7 with Nginx FASTCGI on virtualmin

Events happening in the community are now at Drupal community events on www.drupal.org.
lameski's picture

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

dunlop's picture

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!

lameski's picture

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

dunlop's picture

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.

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: