Universal Viewer gives me the following error when trying to view PDFs.
pdf.combined.js:52795 Mixed Content: The page at 'https://myarchive.co.uk/s/mysite/page/welcome#?c=&m=&s=&cv=' was loaded over HTTPS, but requested an insecure resource 'http://myarchive.co.uk/files/original/20058be87963e73b92cf532bb9ba2393f4fe9025.pdf'. This request has been blocked; the content must be served over HTTPS.
This was happening with JPEG files as well, but I enabled an option in IIIF Server module options, “Force base of url (from)” and “Force base of url (to)” with
https respectively. That fixed the problem for images but for some reason I don’t understand, that fix didn’t work for PDFs. If I look at the manifest that got generated by
https://myarchive.co.uk/iiif/83/manifest, the URL for the PDF is wrong (using http instead of https, same as in the error message).
How could I solve this?