Skip to content

Commit 02664c7

Browse files
authored
Merge pull request #135 from UKHomeOffice/openresty-1.19.3.2
Patch OpenResty to 1.19.3.2
2 parents 3de2d99 + 578b62a commit 02664c7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GEOIP_UPDATE_CLI='https://github.com/maxmind/geoipupdate/releases/download/v4.7.
1313
GEOIP_URL='https://github.com/maxmind/libmaxminddb/releases/download/1.6.0/libmaxminddb-1.6.0.tar.gz'
1414
LUAROCKS_URL='https://luarocks.github.io/luarocks/releases/luarocks-3.7.0.tar.gz'
1515
NAXSI_URL='https://github.com/nbs-system/naxsi/archive/1.3.tar.gz'
16-
OPEN_RESTY_URL='http://openresty.org/download/openresty-1.19.3.1.tar.gz'
16+
OPEN_RESTY_URL='http://openresty.org/download/openresty-1.19.3.2.tar.gz'
1717
STATSD_URL='https://github.com/UKHomeOffice/nginx-statsd/archive/0.0.1-ngxpatch.tar.gz'
1818

1919
MAXMIND_PATH='/usr/share/GeoIP'

ci-build.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,27 +228,27 @@ wget -O /dev/null --quiet --no-check-certificate https://${DOCKER_HOST_NAME}:${P
228228

229229

230230
start_test "Start with multi locations settings" "${STD_CMD} \
231-
-e \"LOCATIONS_CSV=/,/news\" \
232-
-e \"PROXY_SERVICE_HOST_1=http://www.w3.org\" \
233-
-e \"PROXY_SERVICE_PORT_1=80\" \
234-
-e \"PROXY_SERVICE_HOST_2=http://www.bbc.co.uk\" \
235-
-e \"PROXY_SERVICE_PORT_2=80\""
231+
-e \"LOCATIONS_CSV=/,/wiki/Wikipedia:About\" \
232+
-e \"PROXY_SERVICE_HOST_1=https://www.w3.org\" \
233+
-e \"PROXY_SERVICE_PORT_1=443\" \
234+
-e \"PROXY_SERVICE_HOST_2=https://en.wikipedia.org\" \
235+
-e \"PROXY_SERVICE_PORT_2=443\""
236236

237237

238238
echo "Test for location 1 @ /..."
239239
wget -O /dev/null --quiet --no-check-certificate https://${DOCKER_HOST_NAME}:${PORT}/
240-
echo "Test for news..."
241-
wget -O /dev/null --quiet --no-check-certificate --header="Host: www.bbc.co.uk" https://${DOCKER_HOST_NAME}:${PORT}/news
240+
echo "Test for wikipedia about page..."
241+
wget -O /dev/null --quiet --no-check-certificate --header="Host: en.wikipedia.org" https://${DOCKER_HOST_NAME}:${PORT}/wiki/Wikipedia:About
242242

243243
start_test "Start with Multiple locations, single proxy and NAXSI download." "${STD_CMD} \
244-
-e \"PROXY_SERVICE_HOST=http://www.bbc.co.uk\" \
245-
-e \"PROXY_SERVICE_PORT=80\" \
246-
-e \"LOCATIONS_CSV=/,/news\" \
244+
-e \"PROXY_SERVICE_HOST=https://en.wikipedia.org\" \
245+
-e \"PROXY_SERVICE_PORT=443\" \
246+
-e \"LOCATIONS_CSV=/,/wiki/Wikipedia:About\" \
247247
-e \"NAXSI_RULES_URL_CSV_1=https://raw.githubusercontent.com/nbs-system/naxsi-rules/master/drupal.rules\" \
248248
-e \"NAXSI_RULES_MD5_CSV_1=3b3c24ed61683ab33d8441857c315432\""
249249

250250
echo "Test for all OK..."
251-
wget -O /dev/null --quiet --no-check-certificate --header="Host: www.bbc.co.uk" https://${DOCKER_HOST_NAME}:${PORT}/
251+
wget -O /dev/null --quiet --no-check-certificate --header="Host: en.wikipedia.org" https://${DOCKER_HOST_NAME}:${PORT}/
252252

253253
echo "Test client certs..."
254254
cd ./client_certs/

0 commit comments

Comments
 (0)