summary refs log tree commit diff stats
path: root/getwtxt.yml
diff options
context:
space:
mode:
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)