Resolve Mastodon addresses as Lightning Address

This commit is contained in:
2024-03-31 08:27:20 +04:00
parent 612cd0c55e
commit 45159ad4e7

View File

@@ -32,6 +32,11 @@ server {
<% if @onion_address %> <% if @onion_address %>
add_header Onion-Location https://mastodon.<%= @onion_address %>$request_uri; add_header Onion-Location https://mastodon.<%= @onion_address %>$request_uri;
<% end %> <% end %>
location ~ ^/.well-known/(lnurlp|keysend) {
proxy_ssl_server_name on;
proxy_pass https://accounts.kosmos.org;
}
} }
<% if @onion_address %> <% if @onion_address %>