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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -