Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
jwalker
New Contributor

FortiGate load balancing - add backend server response header

Hello,

 

In FortiOS 6.x (6.0 for example):

How can I add the backend server IP / name response header.

Preferably the backend server name. 

Similar to the following:

Nginx

https://philio.me/backend-server-host-name-as-a-custom-header-with-nginx/

HAProxy

https://discourse.haproxy.org/t/force-backend-server-with-http-header/7055/5

I couldn't find this option in FortiGate load balancing feature.

2 REPLIES 2
akumarr
Staff
Staff
jwalker

Thanks but I didn't ask how to get the end user's IP which requires x-forwarded-for header.

I asked how to get the backend server name / IP in the response header at the end user's browser.

Labels
Top Kudoed Authors