fix: mailman web static dir permissions
This commit is contained in:
parent
e859cbbc10
commit
5aa4f8b947
|
@ -14,6 +14,12 @@
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
# Tweak permissions so nginx can read and serve the static assets
|
||||
# (otherwise /var/lib/mailman-web is mode 0600)
|
||||
# https://nixos.wiki/wiki/Mailman
|
||||
systemd.services.mailman-settings.script = ''
|
||||
chmod o+x /var/lib/mailman-web-static
|
||||
'';
|
||||
|
||||
services.postfix = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue