feat: add a bunch of proxies for binternet/librey

This commit is contained in:
Ahwx 2024-12-19 18:19:06 +01:00
parent 244d2f8ec6
commit 4aaf317614
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ ... }:
{
services = {
nginx.virtualHosts."curate.liv.town" = {
forceSSL = true;
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
locations."/" = {
proxyPass = "http://localhost:8081";
proxyWebsockets = true;
};
};
};
}