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.
This commit is contained in:
Jannis Mattheis 2019-07-18 19:53:05 +02:00 committed by GitHub
parent 44f4ff31cb
commit ad157a138b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -17,17 +17,17 @@ server:
accepttos: false # if you accept the tos from letsencrypt accepttos: false # if you accept the tos from letsencrypt
cache: data/certs # the directory of the cache from letsencrypt cache: data/certs # the directory of the cache from letsencrypt
hosts: # the hosts for which letsencrypt should request certificates hosts: # the hosts for which letsencrypt should request certificates
- mydomain.tld # - mydomain.tld
- myotherdomain.tld # - myotherdomain.tld
responseheaders: # response headers are added to every response (default: none) responseheaders: # response headers are added to every response (default: none)
Access-Control-Allow-Origin: "*" # Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: "GET,POST" # Access-Control-Allow-Methods: "GET,POST"
stream: stream:
allowedorigins: # allowed origins for websocket connections (same origin is always allowed) allowedorigins: # allowed origins for websocket connections (same origin is always allowed)
- ".+.example.com" # - ".+.example.com"
- "otherdomain.com" # - "otherdomain.com"
database: # for database see (configure database section) database: # for database see (configure database section)
dialect: sqlite3 dialect: sqlite3