From ba0f7a20ba442343c53cc24627eec311f4a5c1ef Mon Sep 17 00:00:00 2001 From: Kanagaraj M Date: Thu, 29 Aug 2019 18:17:35 +0530 Subject: [PATCH 1/1] Enable headers with _ Issue-ID: MSB-374 Change-Id: Ie933c02c74b02420745870716e756299020a8123 Signed-off-by: Kanagaraj M --- .../src/assembly/resources/openresty/nginx/msb-enabled/msb.conf | 2 ++ .../src/assembly/resources/openresty/nginx/msb-enabled/msbhttps.conf | 3 +++ 2 files changed, 5 insertions(+) diff --git a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf index 48787a0..8ed1077 100644 --- a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf +++ b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf @@ -71,4 +71,6 @@ init_worker_by_lua_block { server { listen 80; include ../msb-enabled/location-default/msblocations.conf; + # Add below settings for making SDC to work + underscores_in_headers on; } diff --git a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msbhttps.conf b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msbhttps.conf index 9015d65..6ca846c 100644 --- a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msbhttps.conf +++ b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msbhttps.conf @@ -20,4 +20,7 @@ server { ssl_protocols TLSv1.1 TLSv1.2; ssl_dhparam ../ssl/dh-pubkey/dhparams.pem; include ../msb-enabled/location-default/msblocations.conf; + # Add below settings for making SDC to work + underscores_in_headers on; + } -- 2.16.6