﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2027	How to add a log_format structure as a header in Nginx	sakshamnsit66@…		"I want to provide a set of headers in one go via proxy_set_headers.

log_format  test-profle escape=json  '{'
   '""received_bytes"":""$request_length"",'
    '""sent_bytes"":""$body_bytes_sent"",'
    '""request"":""$request"",'
    '""ssl_cipher"":""$ssl_cipher"",'
    '""ssl_protocol"":""$ssl_protocol"",'
    '""user_agent"":""$http_user_agent
   '}';
 proxy_set_header X-METADATA test-profle;
proxy_set_header by default provide 2 sets of operations

proxy_set_header Host $host;
proxy_set_header Accept-Encoding """";
2nd one will not passed to the proxied server.

How to solve the above stated problem. Do i need to create a new custom_set_header?"	defect	closed	minor		documentation	1.19.x	invalid			Linux nginx-dev 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 1 00:13:43 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux	nginx/1.13.6
