Merge pull request 'Add Onion-Location header for kosmos.social' (#295) from feature/mastodon_onion_header into master

Reviewed-on: #295
This commit was merged in pull request #295.
This commit is contained in:
2021-01-25 11:14:38 +00:00

View File

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