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