Commit 80bab785 authored by Niall Sheridan's avatar Niall Sheridan
Browse files

Mention `require_reason` in config & README

parent d21fac6f
......@@ -110,6 +110,7 @@ Exception to this: the `http_logfile` option **ONLY** writes to local files.
- `cookie_secret`: string. Authentication key for the session cookie. This can be a secret stored in a [vault](https://www.vaultproject.io/) using the form `/vault/path/key` e.g. `/vault/secret/cashier/cookie_secret`.
- `csrf_secret`: string. Authentication key for CSRF protection. This can be a secret stored in a [vault](https://www.vaultproject.io/) using the form `/vault/path/key` e.g. `/vault/secret/cashier/csrf_secret`.
- `http_logfile`: string. Path to the HTTP request log. Logs are written in the [Common Log Format](https://en.wikipedia.org/wiki/Common_Log_Format). The only valid destination for logs is a local file path.
- `require_reason`: bool. Require the client to provide a reason when requesting a certificate. Defaults to `false`.
- `database`: See below.
### database
......
......@@ -9,6 +9,7 @@ server {
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
require_reason = false # Optional. Request a reason for the certificate from the client
database {
type = "mysql"
dbname = "cashier_production"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment