Add Onion-Location header for kosmos.social

Tells Tor Browser where to find the native onion site.

refs #201
This commit is contained in:
Basti 2021-01-25 12:09:28 +01:00
parent 0920803535
commit 49c75bbb05
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ server {
ssl_certificate_key <%= @ssl_key %>;
add_header Strict-Transport-Security "max-age=31536000";
add_header Onion-Location https://mastodon.<%= @onion_address %>$request_uri;
}
<% end %>