Forum Discussion
Lukasz_01_15307
Sep 16, 2016Nimbostratus
f5 irules add headers
Hello, I'm trying to replace Nginx with f5, and I have a few headers I need to set in f5, but I'm not sure how... in nginx the config file looks like this:
proxy_set_header X-Forwarded-Host ...
cjunior
Sep 16, 2016Nacreous
Hi, I think you need to rewrite the response to the reverse logic, so internal goes to external address.
See this: https://devcentral.f5.com/codeshare?sid=645
Basically you would use a profile stream and HTTP_RESPONSE event, then rewrite the contents headers and body before to send to the end user.
Regards.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects