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": [
{
"fsPath": "$ROOTPATH$/ab-nginx.sh",
"bookmarks": [
-1,
29,
86,
-1,
-1,
-1,
-1,
-1,
-1,
-1
]
}
]
"bookmarks": []
}

View File

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