diff --git a/net/grpc/gateway/examples/echo/nginx.conf b/net/grpc/gateway/examples/echo/nginx.conf index 9499aace..e9b8be0b 100644 --- a/net/grpc/gateway/examples/echo/nginx.conf +++ b/net/grpc/gateway/examples/echo/nginx.conf @@ -35,7 +35,7 @@ http { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Transfer-Encoding,Custom-Header-1,X-Accept-Content-Transfer-Encoding,X-Accept-Response-Streaming,X-User-Agent,X-Grpc-Web'; - add_header 'Access-Control-Expose-Headers' 'Content-Transfer-Encoding'; + add_header 'Access-Control-Expose-Headers' 'Content-Transfer-Encoding,Grpc-Message,Grpc-Status'; } } }