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:
parent
44f4ff31cb
commit
ad157a138b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue