mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
fix(onlyoffice): make readable
This commit is contained in:
@@ -15,14 +15,12 @@
|
|||||||
owner = "onlyoffice";
|
owner = "onlyoffice";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.onlyoffice-docservice.serviceConfig.ExecStartPre = [
|
# otherwise this leads to nginx
|
||||||
# otherwise this leads to nginx
|
# open() "/var/lib/onlyoffice/documentserver/App_Data/cache/files/data/conv_check_1138411943_docx/output.docx" failed (13: Permission denied)
|
||||||
# open() "/var/lib/onlyoffice/documentserver/App_Data/cache/files/data/conv_check_1138411943_docx/output.docx" failed (13: Permission denied)
|
# and mysterious 403 errors
|
||||||
# and mysterious 403 errors
|
system.activationScripts.onlyoffice-readable.text = ''
|
||||||
(pkgs.writers.writeDash "make-reachable" ''
|
chmod a+x /var/lib/onlyoffice/documentserver/
|
||||||
chmod a+x /var/lib/onlyoffice/documentserver/
|
'';
|
||||||
'')
|
|
||||||
];
|
|
||||||
|
|
||||||
services.nginx.virtualHosts.${config.services.onlyoffice.hostname} = {
|
services.nginx.virtualHosts.${config.services.onlyoffice.hostname} = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user