diff --git a/README.md b/README.md index 3a34057..5c0c550 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,25 @@ server { include kit/ssl/force.conf; # ... } +``` + +### Tempaltes + +#### SSL Certs + +```bash +cd /etc/nginx +mkdir snippets/cert +cp kit/templates/cert-example.com.conf snippets/cert/mydomain.com.conf +vi snippets/cert/mydomain.com.conf +``` + +Replace the path with yours, then include in your server block: + +```nginx +server { + # ... + include snippets/cert/mydomain.com.conf; + # ... +} ``` \ No newline at end of file