hippocampus: matrix: client: cinny config
This commit is contained in:
@@ -4,7 +4,30 @@
|
|||||||
addr = "unix:/run/nginx/cinny.sock";
|
addr = "unix:/run/nginx/cinny.sock";
|
||||||
}];
|
}];
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = pkgs.cinny;
|
root = pkgs.cinny.override {
|
||||||
|
conf = {
|
||||||
|
defaultHomeserver = 0;
|
||||||
|
homeserverList = [
|
||||||
|
"glia.club"
|
||||||
|
];
|
||||||
|
allowCustomHomeservers = false;
|
||||||
|
|
||||||
|
featuredCommunities = {
|
||||||
|
openAsDefault = false;
|
||||||
|
spaces = [
|
||||||
|
];
|
||||||
|
rooms = [
|
||||||
|
];
|
||||||
|
servers = [
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
hashRouter = {
|
||||||
|
enabled = false;
|
||||||
|
basename = "/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
rewrite ^/config.json$ /config.json break;
|
rewrite ^/config.json$ /config.json break;
|
||||||
rewrite ^/manifest.json$ /manifest.json break;
|
rewrite ^/manifest.json$ /manifest.json break;
|
||||||
|
|||||||
Reference in New Issue
Block a user