feat: add known hosts
This commit is contained in:
parent
ecf10628c3
commit
3afb7d5cf4
3 changed files with 159 additions and 46 deletions
|
|
@ -38,6 +38,30 @@ in
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "inline";
|
||||
domain = net.devices.remote_proxy.domain;
|
||||
endpoint = "/.well-known/matrix/server";
|
||||
force_ssl = true;
|
||||
port = 443;
|
||||
content = {
|
||||
contentType = "application/json";
|
||||
status = 200;
|
||||
body = ''{"m.server":"${net.devices.remote_proxy.domain}:443"}'';
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "inline";
|
||||
domain = net.devices.remote_proxy.domain;
|
||||
endpoint = "/.well-known/matrix/client";
|
||||
force_ssl = true;
|
||||
port = 443;
|
||||
content = {
|
||||
contentType = "application/json";
|
||||
status = 200;
|
||||
body = ''{"m.homeserver":{"base_url":"https://${net.devices.remote_proxy.domain}"}}'';
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "proxy";
|
||||
domain = "torrent.${net.local_domain}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue