Skip to content

Commit

Permalink
fix(conf) add the missing http2 (see #2541) to custom_nginx.template
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Jul 12, 2017
1 parent 1c01297 commit 7a93587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/fixtures/custom_nginx.template
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ http {
client_body_buffer_size ${{CLIENT_BODY_BUFFER_SIZE}};

> if ssl then
listen ${{PROXY_LISTEN_SSL}} ssl${{PROXY_PROTOCOL}};
listen ${{PROXY_LISTEN_SSL}} ssl${{HTTP2}}${{PROXY_PROTOCOL}};
ssl_certificate ${{SSL_CERT}};
ssl_certificate_key ${{SSL_CERT_KEY}};
ssl_protocols TLSv1.1 TLSv1.2;
Expand Down Expand Up @@ -162,7 +162,7 @@ http {
client_body_buffer_size 10m;

> if admin_ssl then
listen ${{ADMIN_LISTEN_SSL}} ssl;
listen ${{ADMIN_LISTEN_SSL}} ssl${{ADMIN_HTTP2}};
ssl_certificate ${{ADMIN_SSL_CERT}};
ssl_certificate_key ${{ADMIN_SSL_CERT_KEY}};
ssl_protocols TLSv1.1 TLSv1.2;
Expand Down

0 comments on commit 7a93587

Please sign in to comment.