15 lines
275 B
Nix
15 lines
275 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedProxySettings = true;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
80 443
|
|
];
|
|
}
|