machines/raven: add resolver to nginx
This commit is contained in:
parent
0d2409c059
commit
70a8b59a2f
1 changed files with 8 additions and 1 deletions
|
|
@ -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 ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue