Support » Fixing WordPress » wordpress docker container with https

  • Hello,

    I just installed wordpress in a docker container, using this command:

    docker run -d --restart always --name wordpress -h wordpress -p 80:80 -p 443:443 -e PUID=1001 -e PGID=1001 -e TZ=Asia/Nicosia -v wordpress:/var/www/html -d wordpress

    Now I would like to make it an https website. I read that I have to use nginx with letsencrypt. Any guide I found uses docker-compose.

    Is there a way of doing this without docker compose? Perhaps something as easy as installing nginx and letsencrypt like I installed wordpress?

    How are you securing your wordpress site using https in docker containers?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.