Skip to content

Instantly share code, notes, and snippets.

@mimikadze
mimikadze / gist:27002e219c23bbec5a626a6a47f06129
Created April 16, 2017 12:02
Sample NGINX config for rails app
upstream application {
server unix:/tmp/example_puma.sock fail_timeout=0;
}
# Optional redirect
#server {
# listen 80;
# server_name www.DOMAIN default;
# return 301 $scheme://DOMAIN$request_uri;
#}