mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-13 16:31:48 +01:00
21 lines
408 B
Nix
21 lines
408 B
Nix
{ config, values, ... }:
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
enableReload = true;
|
|
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
/* security.acme = { */
|
|
/* acceptTerms = true; */
|
|
/* email = "felix@albrigtsen.it"; */
|
|
/* }; */
|
|
}
|
|
|