Created
September 15, 2016 12:41
-
-
Save maxehmookau/7c740c398bdea59defd3781d06d6bd88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream rails_app { | |
server unix://puma.sock; | |
} | |
server { | |
listen 80; | |
server_name ip_address; | |
try_files $uri @app; | |
location @app { | |
proxy_pass http://rails_app; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment