mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 18:20:52 +02: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;
|
luj.nginx.enable = true;
|
||||||
|
|
||||||
|
security.acme.certs."home.luj".server = "https://ca.luj:8443/acme/acme/directory";
|
||||||
|
|
||||||
services.nginx.virtualHosts."home.luj" = {
|
services.nginx.virtualHosts."home.luj" = {
|
||||||
sslCertificate = "/etc/nginx/certs/home.luj/cert.pem";
|
enableACME = true;
|
||||||
sslCertificateKey = "/etc/nginx/certs/home.luj/key.pem";
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "/srv/homer/";
|
root = "/srv/homer/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue