Skip to content

Commit 1d6fc0f

Browse files
committed
Remove proxy for the webmail initial requests
1 parent 9ffbf03 commit 1d6fc0f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/snappy.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,6 @@ CONFIG="${CONFIGFOLDER}/application.ini"
204204
OPTS="--no-check-certificate"
205205
if [ "$WEBSERVER_HTTP_ENABLED" == "yes" ]; then OPTS="--no-hsts" ; fi
206206

207-
# Add proxy options to wget if proxy is configured
208-
if [ ! -z "$PROXY_HOST" -a ! -z "$PROXY_PORT" ] ; then
209-
OPTS="${OPTS} --proxy=on --http-proxy=$HTTP_PROXY --https-proxy=$HTTPS_PROXY"
210-
echo "===> Using proxy for SnappyMail admin setup: $PROXY_HOST:$PROXY_PORT"
211-
fi
212-
213207
while [ ! -f "$PASS" ] ; do
214208
# get it...
215209
wget -q ${OPTS} "$WEBPROTO://$HOSTNAME/?admin" -O /dev/null

0 commit comments

Comments
 (0)