2022-04-15 08:27:53 +00:00
|
|
|
{ ... }: {
|
|
|
|
services.nginx.virtualHosts."hydra.chir.rs" = {
|
|
|
|
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
|
|
|
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
|
|
|
locations."/" = {
|
2022-04-17 08:59:38 +00:00
|
|
|
proxyPass = "https://nutty-noon.int.chir.rs";
|
2022-04-15 08:27:53 +00:00
|
|
|
proxyWebsockets = true;
|
2022-04-15 08:36:32 +00:00
|
|
|
extraConfig = ''
|
2022-04-15 08:49:48 +00:00
|
|
|
proxy_ssl_server_name on;
|
2022-04-15 08:36:32 +00:00
|
|
|
'';
|
2022-04-15 08:27:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|