diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 19:07:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-11 19:07:38 -0400 |
commit | 9a0bbd716ff234475dc7b2efa3e3c2ef96bd5454 (patch) | |
tree | 7915b74fe7be9bde61ccfd408cc3bbeb170265d8 /getwtxt.yml | |
parent | d4af885c40ba55ea0ed9adade98afe0658099c47 (diff) | |
parent | 45ee3c060433c58a0a89de223655381933e7df11 (diff) | |
download | getwtxt-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.yml | 15 |
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) |