Improved Handling SSL

* Panic is betten than using channels in this case
* Changed the names to a more recognized names
* Improved the README with a full config file example
This commit is contained in:
claudemiro
2016-03-03 21:01:21 -03:00
parent 55a7a0b96c
commit f3dba811b7
5 changed files with 43 additions and 52 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
{
"Host": ":8080",
"Encrypted": true,
"SSL": false,
"SSLHost": ":8090",
"SSLPrivateKey": "/home/ssl.key",
"SSLPublicKey": "/home/ssl.crt",
"SSLKeyFile": "key.pem",
"SSLCertFile": "cert.pem",
"Apps": [
{
"ApplicationDisabled": false,