mount snippets directory if defined

This commit is contained in:
Asif Bacchus 2019-11-16 17:18:24 -07:00
parent f8f6f867f0
commit 200bfd7ad6
2 changed files with 4 additions and 17 deletions

View File

@ -1,19 +1,3 @@
{ {
"bookmarks": [ "bookmarks": []
{
"fsPath": "$ROOTPATH$/ab-nginx.sh",
"bookmarks": [
-1,
29,
86,
-1,
-1,
-1,
-1,
-1,
-1,
-1
]
}
]
} }

View File

@ -130,6 +130,9 @@ fi
if [ "$SERVERS_DIR" ]; then if [ "$SERVERS_DIR" ]; then
vmount="$vmount -v $SERVERS_DIR:/etc/nginx/sites" vmount="$vmount -v $SERVERS_DIR:/etc/nginx/sites"
fi fi
if [ "$SNIPPETS_DIR" ]; then
vmount="$vmount -v $SNIPPETS_DIR:/etc/nginx/snippets"
fi
if [ "$WEBROOT_DIR" ]; then if [ "$WEBROOT_DIR" ]; then
vmount="$vmount -v $WEBROOT_DIR:/usr/share/nginx/html" vmount="$vmount -v $WEBROOT_DIR:/usr/share/nginx/html"
fi fi