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.
Kindly refer this >>> https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-add-X-forwarded-headers-to-the-traf...
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.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.