Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate lightning address host either from the x-forwarded-for header or from the request host #30

Merged
merged 1 commit into from Nov 17, 2021

Conversation

bumi
Copy link
Owner

@bumi bumi commented Nov 5, 2021

When LnMe runs behind a proxy and the X-Forwarded-For HTTP header is set we want to use that value to generate the lightning address and not the local/internal host

…r or from the request host

When LnMe runs behind a proxy and the X-Forwarded-For HTTP header is set we want to use that value to generate the lightning address and not the local/internal host
@bumi bumi merged commit b100455 into master Nov 17, 2021
@bumi bumi deleted the feature/support-forwarded-for-header branch November 17, 2021 15:44
@yo-mr-white yo-mr-white mentioned this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants