add a mastodon.int.chir.rs

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-26 07:26:16 +01:00
parent ec0daf01dd
commit 400315012d
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 5 additions and 1 deletions

View file

@ -64,6 +64,10 @@ in
proxyWebsockets = true;
};
};
services.nginx.virtualHosts."mastodon.int.chir.rs" = config.nginx.virtualHosts."mastodon.chir.rs" // {
sslCertificate = "/var/lib/acme/int.chir.rs/cert.pem";
sslCertificateKey = "/var/lib/acme/int.chir.rs/key.pem";
};
services.redis.servers.mastodon = {
enable = true;
bind = "127.0.0.1";

View file

@ -14,7 +14,7 @@
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
locations."/" = {
proxyPass = "https://nas.int.chir.rs";
proxyPass = "https://mastodon.int.chir.rs";
proxyWebsockets = true;
extraConfig = ''
proxy_ssl_server_name on;