mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-02-22 12:55:13 +08:00
14 lines
434 B
Nix
14 lines
434 B
Nix
{
|
|
services = {
|
|
nginx.virtualHosts."photos.liv.town" = {
|
|
forceSSL = true;
|
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
|
locations."/" = {
|
|
# proxyPass = "http://unix:${toString config.services.anubis.instances.librey.settings.BIND}";
|
|
proxyPass = "http://172.16.10.130:2283";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|