mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
use file_server /.well-known/nostr.json
This commit is contained in:
parent
e2dc04a516
commit
12ad061193
3 changed files with 17 additions and 6 deletions
|
@ -9,6 +9,7 @@ services:
|
|||
- "127.0.0.1:2019:2019"
|
||||
volumes:
|
||||
- ./etc/caddy:/etc/caddy
|
||||
- ./srv:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
|
@ -49,6 +50,6 @@ volumes:
|
|||
networks:
|
||||
fogtype:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.30.0.0/24
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.30.0.0/24
|
||||
|
|
|
@ -5,10 +5,10 @@ read.keiu.net {
|
|||
redir https://rad.fogtype.com{uri} 308
|
||||
}
|
||||
fogtype.com {
|
||||
reverse_proxy http://gts:8080
|
||||
reverse_proxy /.well-known/nostr.json https://archive.fogtype.com {
|
||||
header_up Host {upstream_hostport}
|
||||
handle /.well-known/nostr.json {
|
||||
file_server
|
||||
}
|
||||
reverse_proxy http://gts:8080
|
||||
}
|
||||
www.fogtype.com {
|
||||
redir https://fogtype.com{uri} 308
|
||||
|
|
10
srv/.well-known/nostr.json
Normal file
10
srv/.well-known/nostr.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"names": {
|
||||
"nebel": "c90a759ab3bc4006f1fe5684a1a0278b41e868580932ad67760f3e52db6112d0"
|
||||
},
|
||||
"relays": {
|
||||
"c90a759ab3bc4006f1fe5684a1a0278b41e868580932ad67760f3e52db6112d0": [
|
||||
"wss://relay.beta.fogtype.com"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue