nginx: relax home protection

This commit is contained in:
Michele Guerini Rocco 2020-11-08 19:30:56 +01:00
parent 1186168341
commit 275d11226a
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -376,6 +376,9 @@
extraConfig = disableLog;
};
};
# Allow nginx to see home directories for static files
# (conditional on having proper group permissions).
systemd.services.nginx.serviceConfig.ProtectHome = "read-only";
### Misc. services