I just got VM which had nginx, unicorn and a fresh rails app installed. I looked at the nginx config file, and I do not understand how it connects to unicorn, especially since there doesn’t seem to be any upstream setting (which is what most tutorial’s say you need).
Also there seems to be a line in the default site-enabled config file that has the line:
I am not sure where is app_server defined. Is this an upstream defined somewhere?
Note: This post has screenshots on how all my current configuration files look like:
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.