Compare commits
3 Commits
d97e7ff863
...
9b6b4bb41a
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b6b4bb41a | |||
| 59d5edc2bf | |||
| fd52ee4918 |
@@ -58,7 +58,7 @@
|
|||||||
MINIO_VOLUMES = "/mnt/disk1/minio";
|
MINIO_VOLUMES = "/mnt/disk1/minio";
|
||||||
# Expandable later, but each pool must have more than 1 disk.
|
# Expandable later, but each pool must have more than 1 disk.
|
||||||
# https://github.com/minio/minio/issues/16711
|
# https://github.com/minio/minio/issues/16711
|
||||||
MINIO_SERVER_URL = "http://minio1.minio1.tailnet:9000";
|
MINIO_SERVER_URL = "http://100.64.0.5:9000";
|
||||||
MINIO_PROMETHEUS_URL = "http://100.64.0.5:9999";
|
MINIO_PROMETHEUS_URL = "http://100.64.0.5:9999";
|
||||||
MINIO_PROMETHEUS_JOB_ID = "minio-job";
|
MINIO_PROMETHEUS_JOB_ID = "minio-job";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -22,7 +45,7 @@
|
|||||||
services.caddy.virtualHosts = {
|
services.caddy.virtualHosts = {
|
||||||
"glia.club, glia.club:8448" = {
|
"glia.club, glia.club:8448" = {
|
||||||
extraConfig = lib.mkAfter ''
|
extraConfig = lib.mkAfter ''
|
||||||
reverse_proxy unix//run/nginx/cinny.sock
|
redir https://chat.glia.club
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user