From 2ce3b86e0ff69538935db3149d1ed2f24aea09a3 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Mon, 13 Apr 2020 23:57:13 -0400 Subject: Simplify --- example-server.conf | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'example-server.conf') 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 -- cgit v1.2.3