about summary refs log tree commit diff stats
path: root/getwtxt.yml
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 18:49:16 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-11 18:49:16 -0400
commit45ee3c060433c58a0a89de223655381933e7df11 (patch)
tree7915b74fe7be9bde61ccfd408cc3bbeb170265d8 /getwtxt.yml
parent6dad1372a4680f2314a057b831f8cb2ef44dcf1b (diff)
downloadgetwtxt-45ee3c060433c58a0a89de223655381933e7df11.tar.gz
added support for TLS and hostname resolution
Diffstat (limited to 'getwtxt.yml')
-rw-r--r--getwtxt.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/getwtxt.yml b/getwtxt.yml
index 0388651..d9f5c90 100644
--- a/getwtxt.yml
+++ b/getwtxt.yml
@@ -24,8 +24,19 @@
 BehindProxy: true
 
 # This is the port that getwtxt will bind to.
+# If BehindProxy is false, you should probably
+# set this to 80 or 443
 ListenPort: 9001
 
+# Determines whether we're using SSL/TLS. If so,
+# you should set the Cert and Key files.
+# Don't use TLS if you're setting up getwtxt
+# behind a reverse proxy - just let the proxy
+# handle the connection.
+UseTLS: false
+TLSCert: "/etc/ssl/getwtxt.pem"
+TLSKey: "/etc/ssl/private/getwtxt.pem"
+
 # The type of database you want to use. Currently,
 # the following are supported:
 #   leveldb (default)