These are chat archives for fanout/pushpin

10th
Oct 2018
Sumit Chahal
@smtchahal
Oct 10 2018 03:43
Hi, is there a way to use the incoming Origin: header to make as_host dynamic by, say, removing the https:// bit from the origin header? So if Origin of incoming request is https://example.com, as_host should automatically be example.com
Justin Karneges
@jkarneges
Oct 10 2018 15:28
hi @smtchahal , that seems like quite an obscure use-case. :) you'll need to do that with a full featured proxy such as haproxy. or try to think of another way to achieve whatever your end goal with this is