drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

Multi site with multiples sub file systems drupal.conf

Open accuraz opened this issue 10 years ago • 2 comments
trafficstars

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

accuraz avatar Feb 28 '15 07:02 accuraz

Yes, I think doing that is enough

rodrigoaguilera avatar Feb 28 '15 09:02 rodrigoaguilera

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.

accuraz avatar Feb 28 '15 10:02 accuraz