cluster/services/nginx: depend on network-online.target

This commit is contained in:
Max Headroom 2024-06-04 18:49:07 +02:00
parent 251dfc446e
commit f2fa8aa087

View file

@ -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" ];
};
}