mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
fix semi-colon missing
This commit is contained in:
parent
08a4cf3bb9
commit
fbe9d95ed9
1 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ services.nginx = {
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
## Using ACME certificates in Apache/httpd {#module-security-acme-httpd}
|
||||
|
@ -111,7 +111,7 @@ services.nginx = {
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
# Alternative config for Apache
|
||||
users.users.wwwrun.extraGroups = [ "acme" ];
|
||||
services.httpd = {
|
||||
|
@ -131,7 +131,7 @@ services.httpd = {
|
|||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
Now you need to configure ACME to generate a certificate.
|
||||
|
@ -181,7 +181,7 @@ services.bind = {
|
|||
extraConfig = "allow-update { key rfc2136key.example.com.; };";
|
||||
}
|
||||
];
|
||||
}
|
||||
};
|
||||
|
||||
# Now we can configure ACME
|
||||
security.acme.acceptTerms = true;
|
||||
|
@ -271,7 +271,7 @@ services.nginx = {
|
|||
acmeRoot = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
And that's it! Next time your configuration is rebuilt, or when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue