nginx vhosts as a plugin?

This commit is contained in:
Jeff Lindsay
2013-06-30 11:39:05 -05:00
parent 51dc343630
commit c4fd6d620b
7 changed files with 33 additions and 35 deletions

8
plugins/nginx-vhosts/commands Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e; case "$1" in
url)
echo "http://$(< "/home/git/$2/VHOST")"
;;
esac