modules/nixos: add nginx
- set worker_processes / worker_cpu_affinity to auto, enable pcre_jit - enable ktls - set a default virtualHost for a 404 and use it for reuseport - set enableACME, forceSSL by default, disable for localhost - set robots header and file
This commit is contained in:
parent
cf8fc93213
commit
01c2beb7b4
10 changed files with 60 additions and 21 deletions
modules/nixos
|
@ -9,10 +9,7 @@
|
|||
inputs.buildbot-nix.nixosModules.buildbot-worker
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."buildbot.nix-community.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
services.nginx.virtualHosts."buildbot.nix-community.org" = { };
|
||||
|
||||
sops.secrets.buildbot-github-oauth-secret = { };
|
||||
sops.secrets.buildbot-github-app-secret-key = { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue