Nextcloud + Microsoft Office Server

The integration of NextCloud and Microsoft Office is being configured, but when you try to open a document in the browser, a 404 page opens, and the following error appears in the browser console:

Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-0b0weiOdY5cJGmMAwh9dLm1L02NsHTSkG91ANirykB0=’), or a nonce (‘nonce-…’) is required to enable inline execution.

Has anyone encountered this? How can I fix this error so that the online editor works?

Thanks in advance!

Nextcloud version - Nextcloud Hub 7 (28.0.3)
Microsoft Office Server - 16.0.10338.20039, Windows Server 2019

Nextcloud and MSO is hosted behind a NGINX proxy
Nginx config - https://pastebin.com/Rrdb2pbg
Nextcloud config - https://pastebin.com/b2pg1w77

Update your NextCloud to 28.0.4 and the problem will be solved. :smiling_face:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.