mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2025-01-08 19:16:47 +00:00
Improve output readability
This commit is contained in:
parent
ec2f8aea0d
commit
82d27eacb1
@ -9,8 +9,6 @@ fi
|
|||||||
trap _catch_err ERR
|
trap _catch_err ERR
|
||||||
trap _cleanup EXIT
|
trap _cleanup EXIT
|
||||||
|
|
||||||
LOCAL_DIR=$(dirname "$0")
|
|
||||||
|
|
||||||
LOCAL_DIR="$(cd "$(dirname "$0")" ; pwd -P)"
|
LOCAL_DIR="$(cd "$(dirname "$0")" ; pwd -P)"
|
||||||
. "$LOCAL_DIR"/../conf.env
|
. "$LOCAL_DIR"/../conf.env
|
||||||
|
|
||||||
@ -65,7 +63,7 @@ docker run --name "${NGINX_VERSION}"_test --rm -p 65521:80 -p 65523:443 \
|
|||||||
-v "$TMP_DIR"/cert.pem:/tmp/cert.pem:ro \
|
-v "$TMP_DIR"/cert.pem:/tmp/cert.pem:ro \
|
||||||
-v "$TMP_DIR"/cert.key:/tmp/cert.key:ro \
|
-v "$TMP_DIR"/cert.key:/tmp/cert.key:ro \
|
||||||
-v "$TMP_DIR"/dhparams.pem:/tmp/dhparams.pem:ro \
|
-v "$TMP_DIR"/dhparams.pem:/tmp/dhparams.pem:ro \
|
||||||
-d "${DOCKER_IMAGE}":"${NGINX_VERSION}"
|
-d "${DOCKER_IMAGE}":"${NGINX_VERSION}" > /dev/null
|
||||||
|
|
||||||
for request in http://localhost:65521/nginx_status https://localhost:65523/nginx_status; do
|
for request in http://localhost:65521/nginx_status https://localhost:65523/nginx_status; do
|
||||||
printf "\nRequesting %s\n" $request
|
printf "\nRequesting %s\n" $request
|
||||||
|
Loading…
Reference in New Issue
Block a user