When same origin is set up, ip_override returns a different IP address than my actual one. I know I can extract the real IP address from the cf-connecting-ip request header using a variable and apply a transformation to fix this, but there’s no mention of this problem anywhere in the Stape docs. I saw someone in the Stape community reporting the same issue over a year ago. I doubt I set something up wrong, but I’m not sure.
@Rafael_Machado please refer to step 7 of How to Use Same Origin Through Cloudflare | Stape
you need to add a header so that we automatically parse IP from cf-connecting-ip and you don’t need to do anything explicitly.
1 Like
Thanks. I duble check it and the operator was wrong.