diff --git a/services/mailer/application/config.js b/services/mailer/application/config.js index 25b430119..f0f0dfea6 100644 --- a/services/mailer/application/config.js +++ b/services/mailer/application/config.js @@ -15,8 +15,9 @@ for (let configFile of configFiles) { Object.assign(config, require(configFile)); } -let proxyConf = require('../../nginx/config.yml'); +let proxyConf = {}; let proxyFiles = [ + '../../nginx/config.yml', `${configPath}/config.yml`, `${configPath}/config.${env}.yml` ];