Migrate from Synapse to Dendrite
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
"rewrite ^/gitea/(.*)$ https://git.coolneng.duckdns.org/$1 last;";
|
||||
"/miniflux/".extraConfig =
|
||||
"rewrite ^/miniflux/(.*)$ https://rss.coolneng.duckdns.org/$1 last;";
|
||||
"/.well-known/".alias = "${../well-known}" + "/";
|
||||
};
|
||||
};
|
||||
"radicale.coolneng.duckdns.org" = {
|
||||
@@ -88,7 +89,13 @@
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
locations."/".proxyPass = "http://localhost:8008/";
|
||||
locations."~ ^(/_matrix|/_synapse/client)" = {
|
||||
proxyPass = "http://localhost:8008";
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
'';
|
||||
};
|
||||
};
|
||||
"element.coolneng.duckdns.org" = {
|
||||
enableACME = true;
|
||||
@@ -177,7 +184,7 @@
|
||||
"syncthing.service"
|
||||
"miniflux.service"
|
||||
"radicale.service"
|
||||
"matrix-synapse.service"
|
||||
"dendrite.service"
|
||||
"phpfpm-wallabag.service"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user