diff --git a/README.md b/README.md index 0283389..45c1a04 100644 --- a/README.md +++ b/README.md @@ -16,24 +16,29 @@ Add the follow to your node def Please look at the source to find out other options +### SSL Certs +apache2::sslkeys{"wildcard": ;} + +It will pull the files out of apache2/etc/apache2/ssl/$name.ca, apache2/etc/apache2/ssl/$name.key, apache2/etc/apache2/ssl/$name.cert + + ### Vhost apache2::vhost { "testsite" : servername => 'testsites.testdomain.com', serveradmin => 'root@testite.com', docroot => '/var/testsite' ; } apache2::vhost { "testsite" : servername => 'testsites.testdomain.com', serveradmin => 'root@testite.com', docroot => '/var/testsite', - ssl => true, sslcert => "somecert", sslkey => "somekey", sslca => "someca"; } + ssl => true, sslkeys => "wildcard" ; } ### Proxy apache2::vproxy{ "testsite" : servername => 'testsites.testdomain.com', serveradmin => 'root@testite.com', proxypass => "/ http://localhost:8080/", proxypassreverse => "/ , http://localhost:8080/", proxyhost => "http://localhost:8080/" } apache2::vproxy{ "testsite" : servername => 'testsites.testdomain.com', serveradmin => 'root@testite.com', - ssl => true, sslcert => "somecert", sslkey => "somekey", sslca => "someca", proxypass => "/ , http://localhost:8080/", - proxypassreverse => "/ http://localhost:8080/", proxyhost => "http://localhost:8080/" } + ssl => true, proxypass => "/ , http://localhost:8080/", proxypassreverse => "/, http://localhost:8080/", proxyhost => "http://localhost:8080/", sslkeys => "wildcard"; } { ### Issues * Dedian / ubuntu only + * No require for the ssl keys * Can't define custom ssl options * Can't use custom ports just yey - * Can't use the same ssl keys for multiple vhosts * Vhosts are very brittle ( not that many options) * NO TESTS * Written by me lol