mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
15 lines
397 B
Nix
15 lines
397 B
Nix
{ pkgs, lib, config, ... }:
|
|
{
|
|
security.acme.defaults.email = "letsencrypt.account@banditlair.com";
|
|
security.acme.defaults.webroot = "/var/lib/acme/acme-challenge";
|
|
security.acme.acceptTerms = true;
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedProxySettings = true;
|
|
};
|
|
}
|