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

Reviewed-on: #295
This commit is contained in:
Greg 2021-01-25 11:14:38 +00:00
commit f1ff34d769
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 %>