Made changes to allow for an nginx+node setup

reverse proxied.