nginx X-backend upstream hostname

Vucomir Ianculov vukomir at ianculov.ro
Wed Feb 22 20:24:27 UTC 2017


Hi, 

I'm have following configuration. 
nginx 1.10.3 installed on ubuntu 16.04 

one upstream 


upstream backend { 
server app01.local.net:81; 
server app02.local.net:81; 
server app03.local.net:81; 
} 


one vhost that dose proxy_pass http://backend; 

i also have a old nginx setup that was done some time ago, on every request its add a header X-Backend:app01, depending on with backed the request is sent. 
i tried to reproduce the setup with no success, i checked all files but did not find any configuration that is setting X-Backend on the nginx side. 

can someone help me with this issue. 

Thanks. 

Vuko 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170222/a4977042/attachment-0001.html>


More information about the nginx mailing list