Rewrite nginx configuration

In response to http://stackoverflow.com/questions/24812375/websockets-on-elastic-beanstalk-with-docker?stw=2 illustrating injecting a custom hook into the EB `appdeploy` stage. This custom hook is the original Python file for mutating the nginx conf, with shebang/interpreter added as the first line.