Skip to content
Snippets Groups Projects
Commit b3d3c1f4 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Renamed a proxy var name (refs #19005).

parent 611db589
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,11 @@ then
if [ ${PROXY_AUTHENTICATION} = "1" ]
then
# APT
echo "Acquire::http::Proxy \"http://${PROXY_USER}:${PROXY_PASSWD}@${PROXY_HTTP}:${PROXY_PORT}\";" > /etc/apt/apt.conf.d/proxy
echo "Acquire::https::Proxy \"http://${PROXY_USER}:${PROXY_PASSWD}@${PROXY_HTTP}:${PROXY_PORT}\";" >> /etc/apt/apt.conf.d/proxy
echo "Acquire::http::Proxy \"http://${PROXY_USER}:${PROXY_PWD}@${PROXY_HTTP}:${PROXY_PORT}\";" > /etc/apt/apt.conf.d/proxy
echo "Acquire::https::Proxy \"http://${PROXY_USER}:${PROXY_PWD}@${PROXY_HTTP}:${PROXY_PORT}\";" >> /etc/apt/apt.conf.d/proxy
# /etc/environment
echo "http_proxy=\"http://${PROXY_USER}:${PROXY_PASSWD}@${PROXY_HTTP}:${PROXY_PORT}\"" >> /etc/environment
echo "https_proxy=\"http://${PROXY_USER}:${PROXY_PASSWD}@${PROXY_HTTP}:${PROXY_PORT}\"" >> /etc/environment
echo "http_proxy=\"http://${PROXY_USER}:${PROXY_PWD}@${PROXY_HTTP}:${PROXY_PORT}\"" >> /etc/environment
echo "https_proxy=\"http://${PROXY_USER}:${PROXY_PWD}@${PROXY_HTTP}:${PROXY_PORT}\"" >> /etc/environment
else
# APT
echo "Acquire::http::Proxy \"http://${PROXY_HTTP}:${PROXY_PORT}\";" > /etc/apt/apt.conf.d/proxy
......@@ -87,7 +87,7 @@ NB_MAX=$(wc -l /usr/local/WowzaStreamingEngine/conf/Server.xml | awk '{print$1}'
echo "</Property>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "<Property>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "<Name>licenseServerProxyPassword</Name>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "<Value>${PROXY_PASSWD}</Value>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "<Value>${PROXY_PWD}</Value>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "</Property>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "</Properties>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
echo "</Server>" >> /usr/local/WowzaStreamingEngine/conf/Server.xml
......
......@@ -20,7 +20,7 @@ fi
if [ ${PROXY} = "1" ]; then
if [ ${PROXY_AUTHENTICATION} = "1" ]; then
# general settings
echo "Proxy: http://${PROXY_USER}:${PROXY_PASSWD}@${PROXY_HTTP}:${PROXY_PORT}" >> /etc/apt-cacher-ng/acng.conf
echo "Proxy: http://${PROXY_USER}:${PROXY_PWD}@${PROXY_HTTP}:${PROXY_PORT}" >> /etc/apt-cacher-ng/acng.conf
else
# general settings
echo "Proxy: http://${PROXY_HTTP}:${PROXY_PORT}" >> /etc/apt-cacher-ng/acng.conf
......
......@@ -19,14 +19,6 @@ NTP_SERVER2=
NTP_SERVER3=
# hosts
ETC_HOSTNAME='mediaserver'
# proxy
PROXY=0
PROXY_AUTHENTICATION=0
PROXY_HTTP=
PROXY_HTTPS=
PROXY_PORT=
PROXY_USER=
PROXY_PASSWD=
# SSL certificate
SSL_CERTIFICATE='/etc/ssl/certs/ssl-cert-snakeoil.pem'
SSL_CERTIFICATE_KEY='/etc/ssl/private/ssl-cert-snakeoil.key'
......@@ -85,6 +77,14 @@ NETWORK_DNS1=0
NETWORK_DNS2=0
NETWORK_MASK=0
NETWORK_GATEWAY=0
# proxy
PROXY=0
PROXY_AUTHENTICATION=0
PROXY_HTTP=
PROXY_HTTPS=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=
# -- Cache server specific --
# cache directory, prefer a ramfs - /tmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment