initial commit

This commit is contained in:
Jeff Lindsay committed 2013-06-08 03:26:12 -07:00
commit 26543540c9
4 files changed
+80

No files matched your search

Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
APP="$1"; PORT="$2"; HOSTNAME="$3"
cat<<EOF
upstream $APP { server 127.0.0.1:$PORT; }
server {
listen 80;
server_name $APP.$HOSTNAME;
location / { proxy_pass http://$APP; }
}
EOF