services/netbox: fix access to static directory

This commit is contained in:
Moira 2022-12-10 13:18:02 +01:00
parent 84dab162c1
commit c28e533257
Signed by: moira
GPG key ID: AF92FDD91CB44B2F

View file

@ -42,6 +42,8 @@
SOCIAL_AUTH_UFFD_SECRET = file.readline().replace("\n", "") 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 = { services.coredns = {
enable = true; enable = true;