machines/raven: add resolver to nginx

This commit is contained in:
Jakob Lechner 2022-01-13 18:55:16 +00:00
parent 0d2409c059
commit 70a8b59a2f
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -72,7 +72,14 @@
virtualisation.docker.enable = true;
services.nginx.enable = true;
services.nginx = {
enable = true;
resolver = {
addresses = [ "127.0.0.1" ];
valid = "30s";
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];