media-proxy: Start after network is online

This commit is contained in:
Simon Bruder 2021-03-27 12:45:43 +01:00
parent 90c2ab9d0a
commit c1992958bf
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -16,6 +16,8 @@ in
};
users.users.nginx.extraGroups = [ "keys" ];
# otherwise name resolution fails
systemd.services.nginx.after = [ "network-online.target" ];
services.nginx = {
enable = true;
virtualHosts.media-proxy = {