Remove matrix well-known from matrix.boba.best
It's only needed on boba.best.
This commit is contained in:
18
Caddyfile
18
Caddyfile
@ -23,22 +23,4 @@
|
||||
}
|
||||
|
||||
import conf.d/*
|
||||
handle /.well-known/matrix/* {
|
||||
header Access-Control-Allow-Origin "*"
|
||||
header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
|
||||
header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
||||
header Content-Type "application/json"
|
||||
|
||||
respond /.well-known/matrix/client 200 {
|
||||
body `{"m.homeserver": {"base_url": "https://matrix.boba.best"}}`
|
||||
close
|
||||
}
|
||||
respond /.well-known/matrix/server 200 {
|
||||
body `{"m.server": "matrix.boba.best:443"}`
|
||||
close
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
import conf.d/*
|
||||
import conf.d/*
|
||||
|
Reference in New Issue
Block a user