Hi,
I have no idea when this happened but I guess it was after some upgrade, all uploaded images were no longer http but https. I’ve talked to my CDN ISP but they said it was discourse that made the change.
Is that so? How can I keep using http?
Thanks.
Yinglu
mpalmer
(Matt Palmer)
19. Januar 2017 um 11:05
2
Did you tick the “use https” site setting?
mpalmer
(Matt Palmer)
21. Januar 2017 um 22:30
4
Yes, that’s the setting I was referring to.
I haven’t turned on this option. Any other ideas?
mpalmer
(Matt Palmer)
22. Januar 2017 um 02:31
6
What site are you referring to, so that we can see the actual behaviour you’re talking about?
You can post an image on 关于最近论坛图片不能显示的说明 - General Chitchat | 聊天吹水 - iOSRE with username snaken1nny and password newpassw0rd, thank you!
Fer_Nando
(Fer Nando)
23. Januar 2017 um 21:10
9
I have the same problem in my forum, i use http only and when apply cdn, all site images are forced to https.
michaeld
(Michael - Communiteq)
23. Januar 2017 um 23:24
10
And this is a problem why?
3 „Gefällt mir“
Fer_Nando
(Fer Nando)
24. Januar 2017 um 01:04
11
If you dont have a ssl certificate, some browsers refund to display the images, this is my case.
1 „Gefällt mir“
As @Fer_Nando said, both Chrome and Safari refuse to display the images without a valid certificate
1 „Gefällt mir“
michaeld
(Michael - Communiteq)
24. Januar 2017 um 05:44
13
The CDN ISP provides a certicificate for you, right?
Which CDN are you using?
Yes, I can request for a free certificate but I didn’t. The CDN is from QiNiu, based in China.
Fer_Nando
(Fer Nando)
25. Januar 2017 um 01:27
16
I maked free cert in cloundfront, this solve my problem but other admins of discourse dont have an option for disable https in images when enable the cdn option, this is a small bug.
Is this a confirmed bug? @mpalmer
sam
(Sam Saffron)
8. Februar 2017 um 14:11
18
I don’t know and I doubt Matt can help you here
Can you confirm:
you are running latest?
your DISCOURSE_CDN_URL
is set to: http://7xibfi.com1.z0.glb.clouddn.com
? (note how it is http there and not https)
1 „Gefällt mir“
Fer_Nando
(Fer Nando)
8. Februar 2017 um 17:44
19
The question is for me?
I have “DISCOURSE_CDN_URL: //cdn.domaincname.com ” in cdn option, no http or https set here.
1 „Gefällt mir“
sam
(Sam Saffron)
8. Februar 2017 um 18:05
20
Then change it to:
DISCOURSE_CDN_URL: "http://cdn.domaincname.com"
Otherwise we will pick HTTPS for you.
3 „Gefällt mir“
This topic was automatically closed after 2697 days. New replies are no longer allowed.