We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cc7ba6 + 607f535 commit 89d4014Copy full SHA for 89d4014
go.sh
@@ -59,7 +59,7 @@ fi
59
60
NGIX_SYSDIG_SERVER_CONF="${NGIX_CONF_DIR}/nginx_sysdig_server.conf"
61
touch ${NGIX_SYSDIG_SERVER_CONF}
62
-if [ ! -z "${DISABLE_SYSDIG_METRICS}" ]; then
+if [ -z ${DISABLE_SYSDIG_METRICS+x} ]; then
63
cat > ${NGIX_SYSDIG_SERVER_CONF} <<-EOF-SYSDIG-SERVER
64
server {
65
listen 10088;
@@ -94,7 +94,7 @@ if [ "${HTTPS_REDIRECT}" == "TRUE" ]; then
94
}
95
EOF-REDIRECT-TRUE
96
else
97
- touch ${NGIX_CONF_DIR}/ssl_redirect.conf
+ touch ${NGIX_CONF_DIR}/ssl_redirect.conf
98
fi
99
100
msg "Resolving proxied names using resolver:${NAME_RESOLVER}"
0 commit comments