|
@ -79,6 +79,7 @@ EOF |
|
|
if [[ "$TARGET" != "prod" ]]; then |
|
|
if [[ "$TARGET" != "prod" ]]; then |
|
|
echo "copying Nginx banner to container <$CONTAINER> ... " |
|
|
echo "copying Nginx banner to container <$CONTAINER> ... " |
|
|
lxc file push --uid 0 --gid 0 "$MIAOU_BASEDIR/templates/nginx/snippets/banner_$TARGET.conf" "$CONTAINER/etc/nginx/snippets/banner_$TARGET.conf" |
|
|
lxc file push --uid 0 --gid 0 "$MIAOU_BASEDIR/templates/nginx/snippets/banner_$TARGET.conf" "$CONTAINER/etc/nginx/snippets/banner_$TARGET.conf" |
|
|
|
|
|
lxc file push --uid 0 --gid 0 "$MIAOU_BASEDIR/templates/nginx/snippets/banner_exp.conf" "$CONTAINER/etc/nginx/snippets/banner_exp.conf" |
|
|
echo "copying files over container <$CONTAINER> ... OK" |
|
|
echo "copying files over container <$CONTAINER> ... OK" |
|
|
else |
|
|
else |
|
|
echo "no Nginx banner on PROD!" |
|
|
echo "no Nginx banner on PROD!" |
|
|