From ad157a138b4985086c484a7aabfc2deada5a33dd Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Thu, 18 Jul 2019 19:53:05 +0200 Subject: [PATCH] Comment out non default values in example file (#205) I've seen some tutorials in where the example config is copied without any changes. Settings like headers should only be set when needed. --- config.example.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config.example.yml b/config.example.yml index 681e62e..6ca3f6a 100644 --- a/config.example.yml +++ b/config.example.yml @@ -17,17 +17,17 @@ server: accepttos: false # if you accept the tos from letsencrypt cache: data/certs # the directory of the cache from letsencrypt hosts: # the hosts for which letsencrypt should request certificates - - mydomain.tld - - myotherdomain.tld - +# - mydomain.tld +# - myotherdomain.tld + responseheaders: # response headers are added to every response (default: none) - Access-Control-Allow-Origin: "*" - Access-Control-Allow-Methods: "GET,POST" +# Access-Control-Allow-Origin: "*" +# Access-Control-Allow-Methods: "GET,POST" stream: allowedorigins: # allowed origins for websocket connections (same origin is always allowed) - - ".+.example.com" - - "otherdomain.com" +# - ".+.example.com" +# - "otherdomain.com" database: # for database see (configure database section) dialect: sqlite3