Make gunicorn use a separate logfile

Necessary for debugging the ever-changing build config
Update nginx config to pass more to the app

This fixes a weird problem where some parts of the site were
forwarding to a bogus hostname.

For example hitting localhost:8080/admin/ would work, but
localhost:8080/admin would forward to localhost/admin.