File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -eof pipefail
44
5- export NGINX_VERSION=1.9.4
5+ export NGINX_VERSION=1.9.6
66export NAXSI_VERSION=0d53a64ed856e694fcb4038748c8cf6d5551a603
77export NDK_VERSION=0.2.19
88export 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
3939get_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
8080rm -rf " $BUILD_PATH "
81- apk del \
81+ apk del --purge \
8282 build-base \
8383 curl \
8484 geoip-dev \
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ port_in_redirect off;
33listen 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 }};
77ssl_certificate /etc/ssl/deis.cert;
88ssl_certificate_key /etc/ssl/deis.key;
99include ssl.conf;
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments