昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期四, 五月 10, 2018

MYBB enable HTTPS

I built a forum and enabled HTTPS for it though nginx_proxy and it's companion.

But certificate was not working. 

I stop and rm the companion docker container and recreate it again.

sudo docker run \
--name companion \
-v /home/fennng/certs:/etc/nginx/certs:rw \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--volumes-from nginx-proxy \
jrcs/letsencrypt-nginx-proxy-companion

Problem resolved. 

But with HTTPS, I got following error:





​To fix this 

remove http: from Board URL


​Problem solved 


​ Mixed content issue will come back if someone post images or medias​ with HTTP. I will leave it for now.


--
Feng

没有评论:

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.