summary refs log tree commit diff stats
path: root/getwtxt.yml
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 19:07:38 -0400
committerGitHub <noreply@github.com>2019-06-11 19:07:38 -0400
commit9a0bbd716ff234475dc7b2efa3e3c2ef96bd5454 (patch)
tree7915b74fe7be9bde61ccfd408cc3bbeb170265d8 /getwtxt.yml
parentd4af885c40ba55ea0ed9adade98afe0658099c47 (diff)
parent45ee3c060433c58a0a89de223655381933e7df11 (diff)
downloadgetwtxt-9a0bbd716ff234475dc7b2efa3e3c2ef96bd5454.tar.gz
Merge pull request #4 from getwtxt/tls-conn-and-name-resolv
TLS Support, Name Resolution Support
Diffstat (limited to 'getwtxt.yml')
-rw-r--r--getwtxt.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/getwtxt.yml b/getwtxt.yml
index 6d17b95..d9f5c90 100644
--- a/getwtxt.yml
+++ b/getwtxt.yml
@@ -19,9 +19,24 @@
 ##  Changing the following options requires a restart.     ##
 #############################################################
 
+# Set to true if getwtxt will be behind a reverse
+# proxy server, such as Caddy or nginx
+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)