Update hydra configuration
This commit is contained in:
parent
f5e42688db
commit
2b266f8ab4
|
@ -18,4 +18,11 @@
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."depot.hq.c3d2.de" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".root = "/srv/www/depot";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
nix.useSandbox = false;
|
nix.useSandbox = false;
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.maxJobs = lib.mkDefault 4;
|
||||||
|
nix.autoOptimiseStore = true;
|
||||||
|
nix.gc = { automatic = true; dates = "06:00"; options = "--delete-older-than 7d"; };
|
||||||
|
|
||||||
boot.isContainer = true;
|
boot.isContainer = true;
|
||||||
boot.loader.initScript.enable = true;
|
boot.loader.initScript.enable = true;
|
||||||
|
@ -29,6 +31,9 @@
|
||||||
|
|
||||||
networking.hostName = "192";
|
networking.hostName = "192";
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
|
networking.nameservers = [ "172.20.73.8" ];
|
||||||
|
# caused problems on this host -- Astro 2019-09-08
|
||||||
|
services.resolved.enable = false;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
Loading…
Reference in New Issue