[GH-ISSUE #669] HTTPS Error: Mixed Contents #301

Closed
opened 2026-02-26 10:31:44 +03:00 by kerem · 3 comments
Owner

Originally created by @ketlinapuci on GitHub (Oct 13, 2023).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/669

Hello, I have installed onlyoffice in one Ubuntu 22.04.2 server following the instructions as in the onlyoffice.com page

sudo docker run -i -t -d -p 80:80 -p 443:443 --restart=always
-e LETS_ENCRYPT_DOMAIN=yourdomain.com -e LETS_ENCRYPT_MAIL=email@example.com -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver-de

and used this, I have changed the ports accordingly and added my domain. I have also added the config files in apache2/sites-available directory . After I enabled the site, I could access it at https://domain.com, but after I executed the example and went to create a new document or edit a created one, I am redirected to a blank page and get this in the console

Mixed Content: The page at 'https://onlyoffice.evolutivo.it/example/editor?fileName=new%20(1).docx' was loaded over HTTPS, but requested an insecure frame 'http://onlyoffice.evolutivo.it/7.4.1-36/web-apps/apps/documenteditor/main/index.html?_dc=7.4.1-36&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor&parentOrigin=https://onlyoffice.evolutivo.it'. This request has been blocked; the content must be served over HTTPS.

WHat could be wrong , can you help me with this issue?
thank you

Originally created by @ketlinapuci on GitHub (Oct 13, 2023). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/669 Hello, I have installed onlyoffice in one Ubuntu 22.04.2 server following the instructions as in the onlyoffice.com page sudo docker run -i -t -d -p 80:80 -p 443:443 --restart=always \ -e LETS_ENCRYPT_DOMAIN=yourdomain.com -e LETS_ENCRYPT_MAIL=email@example.com -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver-de and used this, I have changed the ports accordingly and added my domain. I have also added the config files in apache2/sites-available directory . After I enabled the site, I could access it at https://domain.com, but after I executed the example and went to create a new document or edit a created one, I am redirected to a blank page and get this in the console ``` Mixed Content: The page at 'https://onlyoffice.evolutivo.it/example/editor?fileName=new%20(1).docx' was loaded over HTTPS, but requested an insecure frame 'http://onlyoffice.evolutivo.it/7.4.1-36/web-apps/apps/documenteditor/main/index.html?_dc=7.4.1-36&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor&parentOrigin=https://onlyoffice.evolutivo.it'. This request has been blocked; the content must be served over HTTPS. ``` WHat could be wrong , can you help me with this issue? thank you
kerem closed this issue 2026-02-26 10:31:44 +03:00
Author
Owner

@15810644043 commented on GitHub (Oct 19, 2023):

Hello, has the problem been dealt with

<!-- gh-comment-id:1770390381 --> @15810644043 commented on GitHub (Oct 19, 2023): Hello, has the problem been dealt with
Author
Owner

@igwyd commented on GitHub (Nov 7, 2023):

Hello @ketlinapuci, sorry for the late reply. I guess this is because you use apache as an additional proxy and made any misstakes, check out our examples for proxies here.

<!-- gh-comment-id:1797927232 --> @igwyd commented on GitHub (Nov 7, 2023): Hello @ketlinapuci, sorry for the late reply. I guess this is because you use apache as an additional proxy and made any misstakes, check out our examples for proxies [here](https://helpcenter.onlyoffice.com/installation/docs-community-proxy.aspx).
Author
Owner

@igwyd commented on GitHub (Dec 28, 2023):

I close this issue. Feel free to comment or reopen it if you got further questions.

<!-- gh-comment-id:1870906567 --> @igwyd commented on GitHub (Dec 28, 2023): I close this issue. Feel free to comment or reopen it if you got further questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#301
No description provided.