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

Careful with Let's Encrypt and Mastodon Redirects #1665

Closed
lightweight opened this issue Apr 13, 2017 · 0 comments
Closed

Careful with Let's Encrypt and Mastodon Redirects #1665

lightweight opened this issue Apr 13, 2017 · 0 comments

Comments

@lightweight
Copy link

lightweight commented Apr 13, 2017

I was running into a problem on my Mastodon instance with remote follows, getting an error "could not find redirect url" on my server. Turned out that the redirect URL is references on the web path of "/.well-known/host-meta/". And I had a rule in my nginx configs with the location /.well-known/ specified to redirect Let's Encrypt-related queries to a static directory. Turns out my redirect URL requests were getting redirected there. By making my Let's Encrypt directive more specific: location /.well-known/acme-challenge/ I was able to get the redirect request handled by the Mastodon app, and the redirects work now.

Might be worth mentioning in the setup docs that the path /.well-known/host-meta/ needs to be handled by the application!

Hope this helps someone!

zorun pushed a commit to zorun/documentation that referenced this issue Apr 22, 2017
zorun pushed a commit to zorun/documentation that referenced this issue Apr 22, 2017
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this issue Jan 26, 2022
…es/hcaptcha

Add optional hCaptcha support
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

1 participant