media-proxy: Start after network is online
This commit is contained in:
parent
90c2ab9d0a
commit
c1992958bf
|
@ -16,6 +16,8 @@ in
|
||||||
};
|
};
|
||||||
users.users.nginx.extraGroups = [ "keys" ];
|
users.users.nginx.extraGroups = [ "keys" ];
|
||||||
|
|
||||||
|
# otherwise name resolution fails
|
||||||
|
systemd.services.nginx.after = [ "network-online.target" ];
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts.media-proxy = {
|
virtualHosts.media-proxy = {
|
||||||
|
|
Loading…
Reference in a new issue