ONLYOFFICE DocumentServer: Difference between revisions
start on troubleshooting section |
→Troubleshooting: packaging: sourcemaps |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
enable = true; | enable = true; | ||
hostname = "localhost"; | hostname = "localhost"; | ||
securityNonceFile = "${pkgs.writeText "nixos-test-onlyoffice-nonce.conf" '' | |||
set $secure_link_secret "nixostest"; | |||
''}"; | |||
}; | }; | ||
</nowiki>}} | </nowiki>}}Note the example above leaks the secret into your nix store - you should review a [[Comparison of secret managing schemes|secrets management approach]] and make sure you pick a unique secret. | ||
== Configuration == | == Configuration == | ||
| Line 55: | Line 57: | ||
There are two services: onlyoffice-docservice.service and onlyoffice-converter.service. These need to be started after each other: onlyoffice-docservice.service (currently) generates configuration files in /run/onlyoffice, which can take a while. onlyoffice-converter.service then picks these up and uses them. | There are two services: onlyoffice-docservice.service and onlyoffice-converter.service. These need to be started after each other: onlyoffice-docservice.service (currently) generates configuration files in /run/onlyoffice, which can take a while. onlyoffice-converter.service then picks these up and uses them. | ||
== Packaging == | |||
The notes below are mainly useful for those creating the onlyoffice packages. | |||
=== Sourcemaps === | |||
To enable sourcemaps for sdkjs and partly web-apps, see https://github.com/raboof/nixpkgs/commit/0b3b7a9f10565eda44a9b32e1b9bfa5726bf49d3 | |||
[[Category:Server]] | [[Category:Server]] | ||
[[Category:Web Applications]] | [[Category:Web Applications]] | ||