diff options
author | Cecylia Bocovich <cohosh@torproject.org> | 2021-01-05 16:25:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 22:25:07 +0100 |
commit | 38bc4b95625e14c542fc09f8b302f8ca6b92f6ee (patch) | |
tree | 217a155895b418ce90666c95299755a2f4193655 /spec/fabricators/announcement_reaction_fabricator.rb | |
parent | 15be57059dcfe99539edda6d4c33f1677b88520e (diff) |
Set X-Forwarded-Proto to request scheme (#15310) (#15498)
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.
Diffstat (limited to 'spec/fabricators/announcement_reaction_fabricator.rb')
0 files changed, 0 insertions, 0 deletions