csantanapr closed pull request #330: Security: Disable use of X-Accel-Redirect header URL: https://github.com/apache/incubator-openwhisk-apigateway/pull/330
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/api-gateway.conf b/api-gateway.conf index 64da494..ddcea92 100644 --- a/api-gateway.conf +++ b/api-gateway.conf @@ -61,6 +61,9 @@ pcre_jit on; http { default_type text/plain; + # disallow usage of X-Accel-Redirect header + proxy_ignore_headers X-Accel-Redirect; + # Set in-memory buffer size client_body_buffer_size 1M; client_max_body_size 1M; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services