@StuartH Thanks stuart.
Alterate http reponse header
-
Hello,
I need to replace the response header REMOTE_ADDR but i don't find any suitable hook.
filter:middleware.buildHeader or renderHeader are good to change head content (meta, script...)
Where is the best place i could use res.setHeader(key, headers) ? -
Can you explain why you want to do this?
-
Shooting from the hip: I would look at rewriting proxy side, e.g. Nginx proxy_set_header.
-
@PitaJ A request from a client, who needs to use x-forwarded-for in place of real-ip...
I think, i'm going to rewrite at the nginx proxy side.