Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenrjohnson committed Jan 24, 2012
1 parent 8084782 commit ebb9385
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Expand Up @@ -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

0 comments on commit ebb9385

Please sign in to comment.