I am new to NextCloud, I have just done a fresh install of the latest NextCloud. (I believe it’s version 27.1.3.2)
Problem: After adding my domain (eg. cloud.nextcloud.com) into ‘config.php’, and when I tried to access the login page through desktop, the page shows empty.
I went to inspect the HTML file it shows ‘body-login’ all input are set to hidden.
(But if i use mobile version app, i was still able to login using the domain).
I have also triple checked that the configuration i have entered is correctly formatted.
I am using cloudflare tunnel as the reverse proxy.
(I replaced the domain name with xxxxxx for privacy)
The console is showing me the following error:
Refused to load the script 'https://cloud.xxxxx.com/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-lo login:1 Refused to load the script 'https://cloud.xxxxx.com/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js' because it violates the following Content Security Policy directive: "script-src 'nonce-U0kxeEd4dXdzaGpEa2ZZQUQrMi9BenZLdVJ2aFV1ditjLzd4QXIvMlNCZz06Rzk4VklsYm8xMENVcDZWa1BkM1NNbXU0OEcrUFlZbWRGc2ZGUjRxK0FHRT0=' blob:". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
And my nextcloud access log shows the following: (error log shows nothing)