diff --git a/pages/02.linux/nextcloud/default.en.md b/pages/02.linux/nextcloud/default.en.md index 5e1eebb..22c4591 100644 --- a/pages/02.linux/nextcloud/default.en.md +++ b/pages/02.linux/nextcloud/default.en.md @@ -5,6 +5,8 @@ visible: true [toc] +Last modified: 2023-11-24 + ## Installation Nextcloud will be using apache @@ -376,6 +378,11 @@ server { ## Onlyoffice Container +> This procedure is incomplete. See these links for the additional configurations necessary. +> [jiriks74 Docker-DocumentServer](https://gitea.stefka.eu/jiriks74/Docker-DocumentServer#setting-up-secret-key-with-nextcloud) +> [Onlyoffice-Nextcloud issue 601](https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/601#issuecomment-1089929204) +> [Onlyoffice-Nextcloud issue 153](https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/153#issuecomment-544900501) + Integrating onlyoffice, requires setting the correct Content Security Policy headers on the webserver. Using CSP also introduces blockages in Nextcloud that have to be fixed. The console view is your friend for finding every issue. For my installation, the headers needed to be set like this. @@ -387,7 +394,9 @@ Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: ```sh podman run -itd --name onlyoffice -p 8080:80 \ - -e JWT_SECRET=[SECRET KEY] \ + -e JWT_ENABLED="true" \ + -e JWT_SECRET="[SECRET KEY]" \ + -e JWT_HEADER="AuthorizationJwt" \ docker.io/onlyoffice/documentserver ```