modified matrix config
This commit is contained in:
parent
eba631c680
commit
4c4863c38e
1 changed files with 12 additions and 6 deletions
|
@ -23,6 +23,18 @@ in
|
|||
${cfg.domain.full} = {
|
||||
useACMEHost = cfg.domain.base;
|
||||
forceSSL = true;
|
||||
listen = [
|
||||
{
|
||||
addr = cfg.domain.full;
|
||||
port = 443;
|
||||
ssl = true;
|
||||
}
|
||||
{
|
||||
addr = cfg.domain.full;
|
||||
port = 8448;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://localhost:${toString cfg.port}";
|
||||
|
@ -30,12 +42,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
streamConfig = ''
|
||||
server {
|
||||
listen 8448;
|
||||
proxy_pass 127.0.0.1:${cfg.port}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
services.matrix-conduit = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue