add facility for using nginx as a proxy
fixed syntax
Merge pull request #877 from davecramer/master

add facility for using nginx as a proxy