Add config for accounts .well-known proxyying

This commit is contained in:
2024-08-04 16:51:18 +02:00
parent 1c8ee14bb3
commit a99f7f7574
3 changed files with 7 additions and 3 deletions

View File

@@ -18,8 +18,10 @@ server {
ssl_certificate <%= @ssl_cert %>;
ssl_certificate_key <%= @ssl_key %>;
<% if @accounts_url %>
location ~ ^/.well-known/(webfinger|nostr|lnurlp|keysend) {
proxy_ssl_server_name on;
proxy_pass https://accounts.kosmos.org;
}
<% end %>
}