Nginx: Difference between revisions
imported>Csingley No edit summary |
imported>Srid →Sample setups: The email attribute is needed for trusted certs in browser |
||
| Line 4: | Line 4: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
security.acme.certs = { | |||
"blog.example.com".email = "youremail@address.com"; | |||
}; | |||
services.nginx = { | services.nginx = { | ||
enable = true; | enable = true; | ||