update mastodon
This commit is contained in:
parent
2fe6723d1d
commit
82f22fb7e7
9 changed files with 164 additions and 176 deletions
|
@ -5,9 +5,6 @@ let
|
|||
base_url = "https://chat.meowy.tech";
|
||||
server_name = "meowy.tech";
|
||||
};
|
||||
# "org.matrix.msc3575.proxy" = {
|
||||
# "url" = "https://sliding-chat.meowy.tech";
|
||||
# };
|
||||
};
|
||||
serverConfig."m.server" = "chat.meowy.tech:443";
|
||||
mkWellKnown = data: ''
|
||||
|
@ -18,7 +15,7 @@ let
|
|||
|
||||
website = builtins.fetchGit {
|
||||
url = "https://git.0x76.dev/v/0x76.dev.git";
|
||||
rev = "740738370596f2ac89bac83082b638fcc827dc7c";
|
||||
rev = "27baf03cdcd41a9ea4bd591071baf826f6950233";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -98,16 +95,6 @@ in
|
|||
locations."/".proxyWebsockets = true;
|
||||
};
|
||||
|
||||
"blog.xirion.net" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
add_header Content-Type 'text/html; charset=UTF-8';
|
||||
return 200 '<h1>Under Construction</h1>';
|
||||
'';
|
||||
};
|
||||
|
||||
# Meow
|
||||
"meowy.tech" = {
|
||||
enableACME = true;
|
||||
|
@ -129,7 +116,6 @@ in
|
|||
return 303 https://element.chat.meowy.tech;
|
||||
'';
|
||||
"= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||
# "= /_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://synapse.olympus:8009";
|
||||
"/_matrix".proxyPass = "http://synapse.olympus:8008";
|
||||
"/_synapse/client".proxyPass = "http://synapse.olympus:8008";
|
||||
"/_synapse/admin" = {
|
||||
|
@ -138,9 +124,7 @@ in
|
|||
allow 127.0.0.1;
|
||||
allow 10.42.42.0/23;
|
||||
allow 192.168.0.0/23;
|
||||
allow 80.60.83.220;
|
||||
allow 83.128.154.23;
|
||||
allow 62.45.26.248;
|
||||
allow 62.45.180.183;
|
||||
allow 195.85.167.32/29;
|
||||
deny all;
|
||||
'';
|
||||
|
@ -148,11 +132,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
# "sliding-chat.meowy.tech" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
# locations."/".proxyPass = "http://synapse.olympus:8009";
|
||||
# };
|
||||
"element.chat.meowy.tech" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
@ -165,31 +144,19 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
"es.0x76.dev" = {
|
||||
"cinny.chat.meowy.tech" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/".extraConfig = ''
|
||||
return 303 https://bear.0x76.dev;
|
||||
'';
|
||||
};
|
||||
"bear.0x76.dev" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = inputs.essentials.packages.${pkgs.system}.default;
|
||||
};
|
||||
# "cinny.chat.meowy.tech" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
|
||||
# root = pkgs.cinny.override {
|
||||
# conf = {
|
||||
# defaultHomeserver = 0;
|
||||
# allowCustomHomeservers = false;
|
||||
# homeserverList = [ "chat.meowy.tech" ];
|
||||
# };
|
||||
# };
|
||||
root = pkgs.cinny.override {
|
||||
conf = {
|
||||
defaultHomeserver = 0;
|
||||
allowCustomHomeservers = false;
|
||||
homeserverList = [ "chat.meowy.tech" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# };
|
||||
"admin.chat.meowy.tech" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue