• 欢迎订阅我的Youtube频道
  • 欢迎加入我的电报群

MYBB enable HTTPS

网站建设 fennng 1年前 (2018-05-09) 1117次浏览 0个评论

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.


峰享技术 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:MYBB enable HTTPS
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址