Skip to content

Commit 386947f

Browse files
committed
Merge pull request #4673 from mboersma/update-nginx
chore(router): update nginx to 1.9.6
2 parents 2a0a319 + c6eabf0 commit 386947f

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

router/rootfs/bin/build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eof pipefail
44

5-
export NGINX_VERSION=1.9.4
5+
export NGINX_VERSION=1.9.6
66
export NAXSI_VERSION=0d53a64ed856e694fcb4038748c8cf6d5551a603
77
export NDK_VERSION=0.2.19
88
export VTS_VERSION=22c51e201a550bb94e96239fef541347beb4eeca
@@ -33,7 +33,7 @@ apk add --update-cache \
3333
zlib-dev
3434

3535
# download, verify and extract the source files
36-
get_src 479b0c03747ee6b2d4a21046f89b06d178a2881ea80cfef160451325788f2ba8 \
36+
get_src ed501fc6d0eff9d3bc1049cc1ba3a3ac8c602de046acb2a4c108392bbfa865ea \
3737
"http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz"
3838

3939
get_src 128b56873eedbd3f240dc0f88a8b260d791321db92f14ba2fc5c49fc5307e04d \
@@ -66,8 +66,8 @@ cd "$BUILD_PATH/nginx-$NGINX_VERSION"
6666
--with-http_dav_module \
6767
--with-http_geoip_module \
6868
--with-http_gzip_static_module \
69-
--with-http_spdy_module \
7069
--with-http_sub_module \
70+
--with-http_v2_module \
7171
--with-mail \
7272
--with-mail_ssl_module \
7373
--with-stream \
@@ -78,7 +78,7 @@ cd "$BUILD_PATH/nginx-$NGINX_VERSION"
7878
&& make && make install
7979

8080
rm -rf "$BUILD_PATH"
81-
apk del \
81+
apk del --purge \
8282
build-base \
8383
curl \
8484
geoip-dev \

router/rootfs/etc/confd/templates/deis.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ port_in_redirect off;
33
listen 80{{ if exists "/deis/router/proxyProtocol" }} proxy_protocol{{ end }};
44

55
{{ if exists "/deis/router/sslCert" }}
6-
listen 443 ssl spdy{{ if exists "/deis/router/proxyProtocol" }} proxy_protocol{{ end }};
6+
listen 443 ssl http2{{ if exists "/deis/router/proxyProtocol" }} proxy_protocol{{ end }};
77
ssl_certificate /etc/ssl/deis.cert;
88
ssl_certificate_key /etc/ssl/deis.key;
99
include ssl.conf;

router/rootfs/etc/confd/templates/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ http {
211211
server_name_in_redirect off;
212212
port_in_redirect off;
213213
listen 80{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
214-
listen 443 ssl spdy{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
214+
listen 443 ssl http2{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
215215
ssl_certificate /etc/ssl/deis/certs/{{ $app_domain }}.cert;
216216
ssl_certificate_key /etc/ssl/deis/keys/{{ $app_domain }}.key;
217217
include ssl.conf;
@@ -431,7 +431,7 @@ http {
431431
server_name_in_redirect off;
432432
port_in_redirect off;
433433
listen 80{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
434-
listen 443 ssl spdy{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
434+
listen 443 ssl http2{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
435435
ssl_certificate /etc/ssl/deis/certs/{{ $app_domain }}.cert;
436436
ssl_certificate_key /etc/ssl/deis/keys/{{ $app_domain }}.key;
437437
include ssl.conf;

0 commit comments

Comments
 (0)