Open GregoireWulliamoz opened 4 years ago
Hope this into the official docs
@GregoireWulliamoz , this config does not work its showing this error while trying to deploy [ERROR] An error occurred during execution of command [app-deploy] - [start proxy with new configuration]. Stop running the command. Error: copy proxy conf from staging failed with error validate nginx configuration failed with error Command /bin/sh -c /usr/sbin/nginx -t -c /var/proxy/staging/nginx/nginx.conf failed with error exit status 1. Stderr:nginx: [emerg] "location" directive is not allowed here in /var/proxy/staging/nginx/conf.d/drupal.conf:1 nginx: configuration file /var/proxy/staging/nginx/nginx.conf test failed
Sorry it works now, only when i placed the config file in .platform/nginx/conf.d/ebextensions/drupal.conf
. Any idea why it doesnt work when i place it in .platform/nginx/conf.d/drupal.conf
. The later is what suggested in the docs extending linux platforms
Issue #6 :
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.