summaryrefslogtreecommitdiffstats
path: root/configs/nginx/default.nix
blob: 9bf03a76b2b88d3f5e68114437879feaf45c784b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, ... }: {
  services.nginx = {
    enableReload = true;

    recommendedGzipSettings = true;
    recommendedOptimisation = true;
    recommendedTlsSettings = true;

    virtualHosts.${builtins.toJSON ""} = {
      default = true;
      extraConfig = ''
        error_page 400 =444 /;
        return 444;
      '';
      rejectSSL = true;
    };
  };
  hrm.nftables.input.retiolum.tcp = [ "http" ];
}
[cgit] Unable to lock slot /tmp/cgit/2a300000.lock: Permission denied (13)