perusio / drupal-with-nginx

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

Install software in sub directory #234

Open bch80 opened 8 years ago

bch80 commented 8 years ago

Hello,

I used most of the NginX config here and so far it's working nice and smooth for Drupal. But now I'd like to have another software installed in a subfolder. What rule do I need to add to simply deactivate all rules for a subfolder? I get all sorts of 403 and 500 errors or the subfolder is just forwards to Drupal in the parent folder and I'm just bouncing around without much success :-(

Thanks, Chris

guiajlopes commented 8 years ago

You need to create a new alias to this subfolder, and you shouldn't add the the Drupal configuration for example: include apps/drupal/drupal.conf. This way you can create a custom configuration for your application.