drupal nginx php-fpm perusio

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
EdPhillis's picture

mixture of drupal and non-drupal sites with Perusio config

I have a couple of no drupal sites i need to put on a server containing mostly drupal sites one of which should be served with index.html. If I browse to index.html then the site is fine but I cant get the root url to show index.html.

If I put this as a nested location in drupal.conf then it works but it then breaks all the drupal sites. I can't put it in the site config because it compains of duplicate location directives.

location / {
try_files $uri /index.html;
}

Read more
ariapn's picture

New nginx convert. Please comment on my config

I just migrated our drupal site to nginx from apache.

I based my config on perusio's setup using drupal_boost.conf.
We have a main site and then a couple subsites using drupal multisite configuration. I think I configure it correctly. But please let me know if I did anything wrong or any improvement I can make. The complete conf file is here http://pastebin.com/y22PV59f

I'm not sure about this part:

location / {
# This is cool because no php is touched for static content
try_files $uri @cache;
}

    location /sub1 {
Read more
Subscribe with RSS Syndicate content