forked from pub-solar/infra
fix: mailman web static dir permissions
This commit is contained in:
parent
e859cbbc10
commit
5aa4f8b947
|
@ -14,6 +14,12 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = 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 = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue