Skip to content

Commit

Permalink
add custom proxy header
Browse files Browse the repository at this point in the history
  • Loading branch information
goulinkh committed Oct 14, 2024
1 parent 1e252ac commit 6504872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/canonical_cla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def canonical_cla_api_proxy():
url=urlparse.urljoin(CANONICAL_CLA_API_URL, request_url),
headers={
"X-Forwarded-For": flask.request.remote_addr,
"X-Original-Forwarded-For": flask.request.remote_addr,
"x-custom-forwarded-for": flask.request.remote_addr,
},
cookies=flask.request.cookies,
data=flask.request.data,
Expand Down

0 comments on commit 6504872

Please sign in to comment.