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:
commit
f1ff34d769
@ -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 %>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user