mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-23 04:51:58 +00:00
entrypoint: Add PROXY_ALLOW_* settings for setting outgoing proxy rules.
This commit is contained in:
committed by
Alex Vandiver
parent
d3aee4a418
commit
e49a16829d
@@ -146,6 +146,15 @@ puppetConfiguration() {
|
||||
crudini --set /etc/zulip/zulip.conf loadbalancer ips "${LOADBALANCER_IPS}"
|
||||
fi
|
||||
|
||||
if [ -n "$PROXY_ALLOW_ADDRESSES" ]; then
|
||||
echo "Setting outgoing proxy allowed private IPs"
|
||||
crudini --set /etc/zulip/zulip.conf http_proxy allow_addresses "${PROXY_ALLOW_ADDRESSES}"
|
||||
fi
|
||||
if [ -n "$PROXY_ALLOW_RANGES" ]; then
|
||||
echo "Setting outgoing proxy allowed private IP ranges"
|
||||
crudini --set /etc/zulip/zulip.conf http_proxy allow_ranges "${PROXY_ALLOW_RANGES}"
|
||||
fi
|
||||
|
||||
/home/zulip/deployments/current/scripts/zulip-puppet-apply -f
|
||||
}
|
||||
configureCerts() {
|
||||
|
Reference in New Issue
Block a user