Reputation: 695
I have a Kamailio
behind a nginx
for websockets secure. nginx
setup some headers like X-Forwarded-For
and I want to handle this values on main routing logic.
Upvotes: 0
Views: 528
Reputation: 1817
The value of the header should be available inside event_route for xhttp module via $hdr(X-Forwarded-For).
Upvotes: 1