diff --git a/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb b/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb index 11d23a3..a0a3739 100644 --- a/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb +++ b/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb @@ -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 %>