Example Caddy Configuration for NIP-05 Extension
This commit is contained in:
parent
d5009a7d0a
commit
67db763ec9
1 changed files with 15 additions and 0 deletions
|
|
@ -41,4 +41,19 @@ location /.well-known/nostr.json {
|
||||||
proxy_cache_valid 200 300s;
|
proxy_cache_valid 200 300s;
|
||||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Example Caddy configuration
|
||||||
|
|
||||||
|
```
|
||||||
|
my.lnbits.instance {
|
||||||
|
reverse_proxy {your_lnbits}
|
||||||
|
}
|
||||||
|
|
||||||
|
nip.5.domain {
|
||||||
|
route /.well-known/nostr.json {
|
||||||
|
rewrite * /nostrnip5/api/v1/domain/{domain_id}/nostr.json
|
||||||
|
reverse_proxy {your_lnbits}
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue