diff --git a/README.md b/README.md index d57f89a..5466b63 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,13 @@ wo site create example.com --mysql # create example.com with php & mysql supp wo site create example.com --proxy=127.0.0.1:3000 # create example.com with nginx as reverse-proxy ``` +### Sites secured with Let's Encrypt + +```bash +wo site create example.com --wp --letsencrypt # install wordpress & secure site with letsencrypt +wo site create sub.example.com --wp --letsencrypt=subdomain # install wordpress and secure subdomain with letsencrypt +``` + ## Cheatsheet | | single site | multisite w/ subdir | multisite w/ subdom | diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index 9f97325..5794b5d 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -460,7 +460,7 @@ class WOSiteCreateController(CementBaseController): (not self.app.pargs.wpredis)): data['basic'] = True - if (cache == 'wpredis): + if (cache == 'wpredis'): cache = 'wpredis' data['wpredis'] = True data['basic'] = False