mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Added ssl cert for homer
This commit is contained in:
parent
919c11573f
commit
b9a5c3b946
1 changed files with 3 additions and 2 deletions
|
@ -12,9 +12,10 @@ in
|
|||
{
|
||||
luj.nginx.enable = true;
|
||||
|
||||
security.acme.certs."home.luj".server = "https://ca.luj:8443/acme/acme/directory";
|
||||
|
||||
services.nginx.virtualHosts."home.luj" = {
|
||||
sslCertificate = "/etc/nginx/certs/home.luj/cert.pem";
|
||||
sslCertificateKey = "/etc/nginx/certs/home.luj/key.pem";
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/srv/homer/";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue