You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
cd /etc/nginx/conf.d/
|
|
|
|
VARIABLES='${HUB_INTERNAL}${DOMAIN}${LAB_INTERNAL}${REGISTRY_INTERNAL}'
|
|
for i in *.template; do
|
|
target=$(basename $i ".template")
|
|
envsubst $VARIABLES < $i > $target;
|
|
done || exit 1
|
|
nginx -g 'daemon off;'
|