Running Nextcloud 25.0.6 on a dedicated VPS and accessing through SSH.
Description of my issue
I am sharing a calendar on a public website from a HTML embed.
Calendar loads ok after replacing the XFrame_header with:
more_set_headers “Content-Security-Policy: frame-ancestors ‘self’ domain.com”;
However
I have no interactivity with the calendar. (cant change from month view to weekly or day, etc…) It is static.
I can get it to be interactive by replacing the embed link with the regular public calendar link in the embed code block.
Maybe a problem with permissions in the /embed directory?
I see some javascript and css errors in the debugger but the still occur using the regular public link so I don’t think they are the problem.
Just the same errors I get when it works using the regular public calendar link.
For example,
“JWi7ELraQZZLAa2e:1 Refused to apply style from ‘https://domanin.com/ynhtheme/custom_overlay.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.”
But, to reiterate
these errors are still occurring using the public link (which gives me normal interactivity)
Also, I see I forgot to mention my NC is setup via Yunohost.
I’m having a related problem with trying to embed my nextcloud calendar on a public webpage that I run.
I was able to change the x-header line in my nextcloud.conf to allow embedding to work. But, the while the embed works, I get a nextcloud page that says “page not found on the server or you may not be allowed to view it”