title: Deploying a Production Rails app on an Intranet/LAN
body: <p>My usual deploy setup consists of ubuntu/postgresql/nginx/unicorn running on a vps, I need to set up an app that will only be run on an intranet/LAN(on ubuntu).
  Having never done this before what are the differences from a usual vps deployment?</p>
  
  <p>Do I only need to change the <code>server_name</code> in my nginx.conf from;</p>
  
  <pre><code>server {
    listen 80;
    server_name www.example.com ;
    root /home/deployer/example/current/public;
    }
  </code></pre>
  
  <p>to <code>server_name localhost;</code>?</p>