This commit is contained in:
Kat Inskip 2023-07-21 10:47:33 -07:00
parent cab29edaac
commit 229abb8a5e
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 30 additions and 23 deletions

View file

@ -0,0 +1,14 @@
_: {
services.nginx = {
virtualHosts = {
"irc.kittywit.ch" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://[::1]:9000";
proxyWebsockets = true;
};
};
};
};
}

View file

@ -13,13 +13,6 @@
in {
services.nginx = {
virtualHosts = {
"kittywit.ch" = {
enableACME = true;
forceSSL = true;
acmeRoot = null;
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
};
"${fqdn}" = {
enableACME = true;
forceSSL = true;