Forum Discussion
Changing headers
Hi, If I want to change header part (for eg:Strict-Transport-Security) ,Where do I change exactly . Do we need to create separate irule for this ?
Thanks
- Simon_Blakely
Employee
For HSTS, you need to either use the HTTP profile option (from v12 on), or insert the header in the HTTP_RESPONSE method of an irule.
You can do this in a separate irule, but you need to co-ordinate with the existing irules - sometimes an operation in one irule can mean that another change is no longer possible, and may even cause an error that terminates the connection.
https://devcentral.f5.com/articles/implementing-http-strict-transport-security-in-irules
Recent Discussions
Related Content
* 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