mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2025-01-09 20:01:15 +01:00
16 lines
299 B
Nix
16 lines
299 B
Nix
|
{ config, values, ... }:
|
||
|
{
|
||
|
services.nginx = {
|
||
|
enable = true;
|
||
|
enableReload = true;
|
||
|
|
||
|
recommendedProxySettings = true;
|
||
|
recommendedTlsSettings = true;
|
||
|
recommendedGzipSettings = true;
|
||
|
recommendedOptimisation = true;
|
||
|
};
|
||
|
|
||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||
|
}
|
||
|
|