Permalink
Browse files

Documented options

  • Loading branch information...
1 parent 63b3f19 commit 43f6cd7148da2d3c8c89d37ebad11243e7c469fd @brockgr committed Apr 25, 2012
Showing with 27 additions and 6 deletions.
  1. +24 −6 README.md
  2. +3 −0 lib/rack/handler/apache.rb
View
@@ -28,12 +28,30 @@ Yes, this is running as you, so there are the usual security issues!
But it might be handy!!
-Things to document:
+Configuration Options
+---------------------
-* Everything!
-* Default configurations
-* How SSL support works
+* Port
-Things todo:
+ Port defaults to 8080
-* Better config customisation
+* SSLEnable
+
+ Boolean to enable use of SSL. Deafult is false.
+ If SSL is enables, then SSLCertificateFile and SSLPrivateKeyFile
+ must be set.
+
+* SSLCertificateFile
+
+ The SSL Certificate file name. (Note this is the file name, not a
+ certificate object, like in Webricks SSLCertificate)
+
+* SSLPrivateKeyFile
+
+ The SSL Private Key file name. (Again this is not the key object)
+
+
+Things todo
+-----------
+
+* Better config customisation - if anyone needs it
@@ -12,6 +12,9 @@ def self.valid_options
{
"Port=PORT" => "Port to listen on (default: 8080)",
#TODO#"Host=HOST" => "Hostname to listen on (default: localhost)",
+ "SSLEnable=BOOL" => "Enable https"
+ "SSLCertificateFile=FILENAME" => "SSL Certificate file name",
+ "SSLPrivateKeyFile=FILENAME" => "SSL Private Key file name"
}
end

0 comments on commit 43f6cd7

Please sign in to comment.