From 83e6860f0efebc9d74a3151097f4c7f90c09bec5 Mon Sep 17 00:00:00 2001 From: Vangie Du Date: Sat, 30 Jul 2022 20:26:42 +0800 Subject: [PATCH] hide progress bar of curl % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 823 100 823 0 0 803k 0 --:--:-- --:--:-- --:--:-- 803k --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 5e03e36..7c1f605 100644 --- a/nginx.conf +++ b/nginx.conf @@ -176,7 +176,7 @@ Environment="HTTPS_PROXY=$scheme://$http_host/" EOD # Get the CA certificate from the proxy and make it a trusted root. -curl $scheme://$http_host/ca.crt > /usr/share/ca-certificates/docker_registry_proxy.crt +curl -sS $scheme://$http_host/ca.crt > /usr/share/ca-certificates/docker_registry_proxy.crt if fgrep -q "docker_registry_proxy.crt" /etc/ca-certificates.conf ; then echo "certificate refreshed" else