add a mastodon.int.chir.rs
This commit is contained in:
parent
ec0daf01dd
commit
400315012d
2 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,10 @@ in
|
||||||
proxyWebsockets = true;
|
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 = {
|
services.redis.servers.mastodon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bind = "127.0.0.1";
|
bind = "127.0.0.1";
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
||||||
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "https://nas.int.chir.rs";
|
proxyPass = "https://mastodon.int.chir.rs";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_ssl_server_name on;
|
proxy_ssl_server_name on;
|
||||||
|
|
Loading…
Reference in a new issue