add custom ssl certs
This commit is contained in:
parent
7d56748d5b
commit
5d0c7500e4
|
@ -119,7 +119,12 @@ in {
|
|||
};
|
||||
};
|
||||
services.nginx.virtualHosts."qbittorrent.sako.box" = {
|
||||
locations."/" = { proxyPass = "http://localhost:${toString cfg.port}"; };
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString cfg.port}";
|
||||
forceSSL = true;
|
||||
sslCertificate = "/srv/secrets/certs/sako.box.pem";
|
||||
sslCertificateKey = "/srv/secrets/certs/sako.box-key.pem";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue