ONLYOFFICE DocumentServer: Difference between revisions
m typo |
→Installation: document you want secrets management |
||
| (3 intermediate revisions by 3 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 51: | Line 53: | ||
The reverse_proxy configuration directly forwards all requests to the ONLYOFFICE server, ignoring the default Nginx vhost. | The reverse_proxy configuration directly forwards all requests to the ONLYOFFICE server, ignoring the default Nginx vhost. | ||
== Troubleshooting == | |||
When using the documentserver from Nextcloud, saving the settings on the Nextcloud UI ("Administration Settings" -> Administration -> ONLYOFFICE)" triggers a round-trip test. | |||
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. | |||
[[Category:Server]] | [[Category:Server]] | ||
[[Category:Web Applications]] | [[Category:Web Applications]] | ||