mirror of https://github.com/tootsuite/mastodon
38bc4b9562
This fixes a bug that prevents logins to mastodon onion services. The nginx directive assumed all requests were made over https, causing a domain mismatch for onion services that have https redirects disabled. The fix more correctly sets X-Forwarded-Proto to the actual scheme used in the request. |
||
---|---|---|
.. | ||
mastodon-sidekiq.service | ||
mastodon-streaming.service | ||
mastodon-web.service | ||
nginx.conf |