Fixes for AWS deployment for drupal and nginx