Nothing Special   »   [go: up one dir, main page]

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

webmention behind TLS offloader requires setting url explicitly in config.ini #724

Closed
michielbdejong opened this issue Jan 21, 2015 · 2 comments

Comments

@michielbdejong
Copy link
Contributor

As reported in https://indiewebcamp.com/Known#The_target_page_does_not_exist there is a problem with webmention when running Known behind a TLS offloader.

The detectBaseURL function thinks the public URL is on http, meaning webmentions for any posts on https URLs are rejected.

Workaround: add a line url = 'https://domain.com/' to your config.ini

@benwerd
Copy link
Member
benwerd commented Jan 21, 2015

Sometimes TLS offloaders send an extra header. Is this true in your case? Maybe we can key off of that.

@michielbdejong
Copy link
Contributor Author

It adds X-Forwarded-Proto: https, yes.

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

No branches or pull requests

2 participants