You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2019/12/04 20:48:50 UTC

[openwhisk-apigateway] 01/01: fix(http): Use HTTP 1.1 for upstreams

This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a commit to branch proxy-http-version
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git

commit e612054008d8f1389b4a82acd928e37131336f62
Author: Matt Hamann <mh...@us.ibm.com>
AuthorDate: Wed Dec 4 15:48:32 2019 -0500

    fix(http): Use HTTP 1.1 for upstreams
---
 conf.d/managed_endpoints.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf.d/managed_endpoints.conf b/conf.d/managed_endpoints.conf
index 7df79a4..1414182 100644
--- a/conf.d/managed_endpoints.conf
+++ b/conf.d/managed_endpoints.conf
@@ -80,6 +80,7 @@ server {
             routing.processCall(ds.init())
         }
 
+        proxy_http_version 1.1;
         proxy_pass $upstream;
         header_filter_by_lua_block {
             local cors = require "cors"