perusio / drupal-with-nginx

Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
854 stars 246 forks source link

Multi site with multiples sub file systems drupal.conf #208

Open accuraz opened 9 years ago

accuraz commented 9 years ago

I would like to use perusio's configuration for a drupal multisites installation with multiples drupal sub file systems.

My drupal installation will be like

sites/www.exemple1.com/files sites/www.exemple2.com/files sites/www.exemple3.com/files

The apps/drupal/drupal.conf file is build for a drupal single installation like sites/default/files.

If I replace all location ^~ /sites/default/files/ directives by location ^~ /sites/*/files/ directives may these directives cover all the sub sites ?

Thank you per advance for any help

rodrigoaguilera commented 9 years ago

Yes, I think doing that is enough

accuraz commented 9 years ago

Thanks rodrigoaguilera

I used Apache for the last 10 years but since I start using Nginx and realize the huge performances gain and the amazing number of configuration options available, I cannot simply ignore it and continue to use Apache.