cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

💡 Custom headers.

Open fernvenue opened this issue 3 years ago • 2 comments

Describe the feature you'd like Allow user to add custom header(s) when cloudflared connect to the local service(s).

Describe alternatives you've considered Yes, I'm using nginx to do that for now, and actually adding custom header(s) is the only thing that nginx do, I really wanna make cloudflared connect to the local service(s) directly.

Additional context If cloudflared already support to do that, could you please tell me how should I do or where I can find the docs?

fernvenue avatar Oct 29 '22 16:10 fernvenue

Please allow setting simple authorization bearer=ABCDS headers at least. would be really helpful

emirkmo avatar Dec 07 '22 23:12 emirkmo

Please allow setting simple authorization bearer=ABCDS headers at least. would be really helpful

Hi, I think you can go Rules - Transform Rules on Cloudflare dashboard, and choose to add HTTP Request Header Modification rule, so that you can set that authorization header, that should sove your problem for now :)

fernvenue avatar Jan 06 '23 20:01 fernvenue