summaryrefslogtreecommitdiff
path: root/flora/services/nginx.nix
blob: fbbff73ab20be58444987b827898aad989322a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:

{
  networking.firewall.allowedTCPPorts = [ 80 443 ];

  services.nginx = {
    enable = true;
    
    recommendedOptimisation = true;
    recommendedTlsSettings = true;
    recommendedProxySettings = true;
  };
}