Skip to content

Instantly share code, notes, and snippets.

@maxehmookau
Created September 15, 2016 12:41
Show Gist options
  • Save maxehmookau/7c740c398bdea59defd3781d06d6bd88 to your computer and use it in GitHub Desktop.
Save maxehmookau/7c740c398bdea59defd3781d06d6bd88 to your computer and use it in GitHub Desktop.
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