I have a problem with a large Meteor settings file and Phusion Passenger + Nginx and Meteor bundled app. When i have a small config file, no problem. but if i have a big config file, i can't start the app. i think to link the json file in nginx conf file. but the error is the same
Error: METEOR_SETTINGS are not valid JSON.
this is some try that i have done without success
passenger_env_var METEOR_SETTINGS $mSETTINGS;
passenger_env_var METEOR_SETTINGS /etc/nginx/sites-enabled/backend.conf;
passenger_env_var METEOR_SETTINGS '{"miao":"bau"}';
passenger_env_var METEOR_SETTINGS /home/system/meteorSettings/backendSettings.json;
can anyone help me? Thank you!