Created Setting up SSL on wordpress container (markdown)

Theodotos Andreou 2016-09-17 09:05:15 +03:00
parent e2edc0de6c
commit 3a10866b2f

@ -0,0 +1,23 @@
### Execute a shell on the container
```
docker exec -ti wordpress /bin/bash
```
### Add backports repo
```
cat >> /etc/apt/sources.list << EOF
deb http://ftp.debian.org/debian jessie-backports main
EOF
```
### Install certbot
```
apt update
apt-get install python-certbot-apache -t jessie-backports
```
certbot run -d ellak.org -d www.ellak.org