Re-enable and improve Tor access for kosmos.social
This commit is contained in:
@@ -24,3 +24,16 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=31536000";
|
||||
}
|
||||
<% end %>
|
||||
|
||||
<% if @onion_address %>
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name mastodon.<%= @onion_address %>;
|
||||
include <%= @shared_config_path %>;
|
||||
|
||||
ssl_certificate <%= @ssl_cert %>;
|
||||
ssl_certificate_key <%= @ssl_key %>;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000";
|
||||
}
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user