diff options
Diffstat (limited to 'example-server.conf')
| -rw-r--r-- | example-server.conf | 16 | 
1 files changed, 3 insertions, 13 deletions
diff --git a/example-server.conf b/example-server.conf index 477ae15..795acc5 100644 --- a/example-server.conf +++ b/example-server.conf @@ -1,22 +1,12 @@  # Server config  server { -  use_tls = true  # Optional. If this is set then `tls_key` and `tls_cert` must be set -  tls_key = "server.key"  # Path to TLS key -  tls_cert = "server.crt"  # Path to TLS certificate -  address = "127.0.0.1"  # Optional. IP address to listen on -  port = 443  # Port to listen on +  address = "0.0.0.0"  # Optional. IP address to listen on +  port = 80  # Port to listen on    user = "www" # Optional. User to which the server drops privileges to    cookie_secret = "supersecret"  # Authentication key for the client cookie    csrf_secret = "supersecret"  # Authentication key for the CSRF token +  secure_cookie = true    http_logfile = "http.log"  # Logfile for HTTP requests -  require_reason = false # Optional. Request a reason for the certificate from the client -  database { -    type = "mysql" -    dbname = "cashier_production" -    address = "host:3306" -    username = "user" -    password = "pass" -  }  }  # Oauth2 configuration  | 
