aboutsummaryrefslogtreecommitdiff
path: root/example-server.conf
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-08-16 21:48:13 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-08-16 21:58:28 +0100
commitf52e26a6bf532da05f732ee7a6f0fcd6127e3a15 (patch)
tree98de1ca84170c87e9be29317f5d6c8673346ea5c /example-server.conf
parent6bad2d072333e1b6574dc206c4019130e9a89e88 (diff)
Allow selecting which ip to listen on
Diffstat (limited to 'example-server.conf')
-rw-r--r--example-server.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/example-server.conf b/example-server.conf
index b9bd094..35a53d1 100644
--- a/example-server.conf
+++ b/example-server.conf
@@ -4,6 +4,7 @@ server {
tls_key = "server.key" # Path to TLS key
tls_cert = "server.crt" # Path to TLS certificate
port = 443 # Port to listen on
+ address = "127.0.0.1" # Optional. IP address to listen on.
cookie_secret = "supersecret" # Authentication key for the client cookie
csrf_secret = "supersecret" # Authentication key for the CSRF token
http_logfile = "http.log" # Logfile for HTTP requests
@@ -19,7 +20,7 @@ auth {
provider_opts {
domain = "example.com" # Oauth-provider specific options
}
- users_whitelist = ["marco", "niall", "patrick"] # Optional
+ users_whitelist = ["marco@gmail.com", "niall@gmail.com", "patrick@gmail.com"] # Optional
}
# Configuration for the certificate signer.