Updated Setting up SSL on wordpress container (markdown)

Theodotos Andreou 2016-09-17 09:30:41 +03:00
parent 4a45fbc9f4
commit 970141c3b9

@ -37,7 +37,7 @@ docker run -d --name wordpress-certbot --link mysql:mysql -p 80:80 -p 443:443 el
### Install the certificates
```
<pre>
certbot --text -d ellak.org -d www.ellak.org --email "admins@ellak.org"
-------------------------------------------------------------------------------
@ -65,5 +65,12 @@ Please choose whether HTTPS access is required or optional.
2: Secure - Make all requests redirect to secure HTTPS access
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
</pre>
Then disable the "default" site:
```
a2dissite 000-default
service apache2 reload
```