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
没有评论:
发表评论