secret_key_base missing and nginx restart fails
I followed this guide: https://gorails.com/deploy/ubuntu/14.04 to set up my application.
Now I have a few errors:
1)When I do service nginx restart, it fails. When I do sudo
nginx -t it says everything is fine.
2)When I go to my website, I get Incomplete response received from application.
When I looked into the logs, it says that
secret_key_base is missing. However, I have hard coded in shared/config/secrets.yml the secret key so I’m not sure what is going on.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.