services/netbox: fix access to static directory
This commit is contained in:
parent
84dab162c1
commit
c28e533257
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@
|
|||
SOCIAL_AUTH_UFFD_SECRET = file.readline().replace("\n", "")
|
||||
'';
|
||||
};
|
||||
# Enables nginx to traverse the directory to access /static
|
||||
systemd.services.netbox.serviceConfig.StateDirectoryMode=lib.mkForce 0751;
|
||||
|
||||
services.coredns = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue