http - How to combine "via" header from a upstream using nginx -


for example, used

set $myvia "newserver"; if ($upstream_http_via) {     set $myvia "$upstream_http_via,newserver"; } add_header via $myvia; 

but in nginx not work, response via:newserver client. if use $upstream_http_via straight away, works, can not check if upstream have via header or not. can me, lot.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -