diff --git a/Setting-up-SSL-on-wordpress-container.md b/Setting-up-SSL-on-wordpress-container.md index ef24bb1..51a84a8 100644 --- a/Setting-up-SSL-on-wordpress-container.md +++ b/Setting-up-SSL-on-wordpress-container.md @@ -37,7 +37,7 @@ docker run -d --name wordpress-certbot --link mysql:mysql -p 80:80 -p 443:443 el ### Install the certificates -``` +
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 ++ +Then disable the "default" site: + +``` +a2dissite 000-default +service apache2 reload ```