11 lines
286 B
Nix
11 lines
286 B
Nix
|
{ ... }: {
|
||
|
services.nginx.virtualHosts."hydra.chir.rs" = {
|
||
|
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
||
|
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
||
|
locations."/" = {
|
||
|
proxyPass = "https://hydra.int.chir.rs";
|
||
|
proxyWebsockets = true;
|
||
|
};
|
||
|
};
|
||
|
}
|