Resolve Mastodon addresses as Lightning Address
This commit is contained in:
parent
612cd0c55e
commit
45159ad4e7
@ -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 %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user