diff --git a/cluster/services/nginx/nginx.nix b/cluster/services/nginx/nginx.nix index 087f20f..dc0fccc 100644 --- a/cluster/services/nginx/nginx.nix +++ b/cluster/services/nginx/nginx.nix @@ -25,5 +25,8 @@ in { ''; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; - systemd.services.nginx.after = [ "network-online.target" ]; + systemd.services.nginx = { + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; + }; }