Resolve Mastodon addresses as Lightning Address

This commit is contained in:
Râu Cao 2024-03-31 08:27:20 +04:00
parent 612cd0c55e
commit 45159ad4e7
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

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