upstream handy {
  server unix:///u/apps/handy/shared/sockets/unicorn.sock fail_timeout=0;
}

server {
  listen 80;
  server_name handy.pittcsc.org;

  root /u/apps/handy/current/public;
  try_files $uri @handy;

  location @handy {
    proxy_pass http://handy;
    proxy_redirect off;

    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }

  location / {
    try_files $uri @handy;
  }

  location ^~ /assets/ {
    gzip_static on;
  }

  keepalive_timout 10;
}

upstream handy {
  server unix:///u/apps/handy/shared/sockets/unicorn.sock fail_timeout=0;
}

server {
  listen 80;
  server_name handy.pittcsc.org;

  root /u/apps/handy/current/public;
  try_files $uri @handy;

  location @handy {
    proxy_pass http://handy;
    proxy_redirect off;

    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }

  location / {
    try_files $uri @handy;
  }

  location ^~ /assets/ {
    gzip_static on;
  }

  keepalive_timeout 10;
}

Fix typo in Nginx directive
Fix typo in Nginx directive
