Support to run behind nginx reverse proxy. Support to run wetty as user as well as root.