mautrix autoconfig
This commit is contained in:
parent
affc0ce1df
commit
ea72673d32
2 changed files with 14 additions and 1 deletions
|
|
@ -0,0 +1,13 @@
|
|||
export async function GET({ url }) {
|
||||
const res = new Response(JSON.stringify({
|
||||
"fi.mau.bridges": [
|
||||
"https://mautrix-discord.ellis.link",
|
||||
"https://mautrix-gmessages.ellis.link",
|
||||
"https://mautrix-meta.ellis.link",
|
||||
"https://mautrix-signal.ellis.link",
|
||||
"https://mautrix-slack.ellis.link",
|
||||
"https://mautrix-whatsapp.ellis.link"
|
||||
]
|
||||
}), { headers: { "content-type": "application/jrd+json" }, status: 200 })
|
||||
return res;
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ Environment=XFF_DEPTH=1
|
|||
# 'x-real-ip': '145.40.150.118'
|
||||
|
||||
Label="traefik.enable=true"
|
||||
Label="traefik.http.routers.jade-website-frontend.rule=(Host(`jade.ellis.link`) || (Host(`ellis.link`) && Path(`/.well-known/webfinger`)))"
|
||||
Label="traefik.http.routers.jade-website-frontend.rule=(Host(`jade.ellis.link`) || (Host(`ellis.link`) && (Path(`/.well-known/webfinger`) || Path(`/.well-known/matrix/mautrix`))))"
|
||||
|
||||
Label="traefik.http.routers.jade-website-frontend.entrypoints=https"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue