Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add custom header to Amazon AWS ALB request

I would like to add a custom header to the request at the AWS ALB level. I am doing migration of some iRules from F5 to ALB and there are lots of custom iRules written in F5 to add custom headers based on some conditions and I have to keep it like-for-like in order to perform the smoother migration.

Is it possible to do this from the AWS ALB itself?

like image 518
CHash_Mike Avatar asked Jan 26 '26 08:01

CHash_Mike


1 Answers

As far as I know there is no way to set custom headers at the ALB level.

You can however add CloudFront as a CDN in front of it, that allows you to set custom headers, which will then be passed on to the ALB.

like image 57
Maurice Avatar answered Jan 28 '26 23:01

Maurice



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!