@@ -173,8 +173,8 @@ originVetoer:
173
173
whitelist :
174
174
- https://restheart.org
175
175
- http://localhost
176
- # optional list of paths for whose the Origin header
177
- # is not checked. values can be absolute paths
176
+ # Optional list of paths for which the Origin header
177
+ # is not checked. Values can be absolute paths
178
178
# or patterns like /{var}/path/to/resource/*
179
179
# ignore-paths:
180
180
# - /{tenant}/bucket.files/{id}/binary
@@ -192,7 +192,7 @@ fullAuthorizer:
192
192
# and verify auth tokens.
193
193
# If more than one token-manager are defined, the first one will be used
194
194
# The token is returned to the caller via auth-token header when the user
195
- # autheticates successfully. The token can be used by Authentication Mechanisms.
195
+ # authenticates successfully. The token can be used by Authentication Mechanisms.
196
196
197
197
# rndTokenService generates auth tokens using a random number generator.
198
198
rndTokenManager :
@@ -233,10 +233,10 @@ mongo:
233
233
# Use the wildcard '*' to expose all dbs.
234
234
#
235
235
# The parameter 'where' defines the URI to bind the resource to.
236
- # It can be an absolute path (eg. /api) or path template (eg . /{foo}/bar/*).
236
+ # It can be an absolute path (e.g. /api) or path template (e.g . /{foo}/bar/*).
237
237
# The values of the path templates properties are available:
238
238
# - in the 'what' property (e.g. what: /{foo}_db/coll)
239
- # - programmatically from MongoRequest.getPathTemplateParamenters () method.
239
+ # - programmatically from MongoRequest.getPathTemplateParameters () method.
240
240
#
241
241
# Special variables {host[n]} can be used in path templates for mounting
242
242
# MongoDB resources based on the request's host name.
@@ -298,12 +298,12 @@ mongo:
298
298
default-pagesize : 100
299
299
300
300
# max-pagesize sets the maximum allowed value of the pagesize query parameter
301
- # generally, the greater the pagesize, the more json serializan overhead occurs
302
- # the rule of thumb is not exeeding 1000
301
+ # generally, the greater the pagesize, the more json serialization overhead occurs
302
+ # the rule of thumb is not exceeding 1000
303
303
max-pagesize : 1_000
304
304
305
- # local-cache allows to cache the db and collection properties to drammatically
306
- # improve performaces . Without caching, a GET on a document would requires
305
+ # local-cache allows to cache the db and collection properties to
306
+ # improve performances . Without caching, a GET on a document would require
307
307
# two additional queries to retrieve the db and the collection properties.
308
308
# Pay attention to local caching only in case of multi-node deployments (horizontal scalability).
309
309
# In this case a change in a db or collection properties would reflect on other
@@ -333,15 +333,15 @@ graphql:
333
333
app-cache-enabled : true
334
334
# app cache entries are automatically revalidated every TTR milliseconds
335
335
app-cache-ttr : 60_000 # in msecs
336
- # default-limit is used for queries that don't not specify a limit
336
+ # default-limit is used for queries that don't specify a limit
337
337
default-limit : 100
338
338
# max-limit is the maximum value for a Query limit
339
339
max-limit : 1_000
340
340
# The time limit in milliseconds for processing queries. Set to 0 for no time limit.
341
341
query-time-limit : 0 # in msecs
342
342
verbose : false
343
343
344
- # Proxied resources - expose exrernal API with RESTHeart acting as a reverese proxy
344
+ # Proxied resources - expose external API with RESTHeart acting as a reverse proxy
345
345
# see https://restheart.org/docs/proxy
346
346
# options:#
347
347
# - location (required) The location URI to bound to the HTTP proxied server.
@@ -403,7 +403,7 @@ bruteForceAttackGuard:
403
403
# before returning 429 Too Many Requests
404
404
max-failed-attempts : 5
405
405
# if true, the source ip is obtained from X-Forwarded-For header
406
- # this requires that header beeing set by the proxy, dangerous otherwise
406
+ # this requires that header being set by the proxy, dangerous otherwise
407
407
trust-x-forwarded-for : false
408
408
# when X-Forwarded-For has multiple values,
409
409
# take into account the n-th from last element
@@ -472,15 +472,15 @@ core:
472
472
473
473
# The directory containing the plugins jars.
474
474
# The path is either absolute (starts with /) or relative to the restheart.jar file
475
- # Just add the plugins jar to plugins-directory and they will be automatically
475
+ # Just add the plugins jar to plugins-directory, and they will be automatically
476
476
# added to the classpath and registered.
477
477
plugins-directory : plugins
478
478
479
479
# Limit the scanning of classes annotated with @RegisterPlugin
480
480
# to the specified packages. It can speedup the boot time
481
481
# in case of huge plugin jars. It is usually not required.
482
482
# Use an empty array to not limit scanning.
483
- # Alsways add the package org.restheart to the list
483
+ # Always add the package org.restheart to the list
484
484
plugins-packages : []
485
485
486
486
# Set to true for verbose logging of jar scanning for plugins
@@ -514,7 +514,7 @@ core:
514
514
# Virtual working threads always use heap buffers because they are faster for their operations.
515
515
direct-buffers : true
516
516
517
- # In order to save bandwitdth , force requests to support the giz encoding (if not, requests will be rejected)
517
+ # In order to save bandwidth , force requests to support the giz encoding (if not, requests will be rejected)
518
518
force-gzip-encoding : false
519
519
520
520
# true to allow unescaped characters in URL
@@ -528,7 +528,7 @@ connection-options:
528
528
# How to check HTTP/2 protocol https://stackoverflow.com/a/54164719/4481670
529
529
ENABLE_HTTP2 : true
530
530
531
- # The maximum size of a HTTP header block, in bytes.
531
+ # The maximum size of an HTTP header block, in bytes.
532
532
# If a client sends more data that this as part of the request header then the connection will be closed.
533
533
# Defaults to 1Mbyte.
534
534
MAX_HEADER_SIZE : 1048576
@@ -537,8 +537,8 @@ connection-options:
537
537
# Defaults to unlimited.
538
538
MAX_ENTITY_SIZE : -1
539
539
540
- # The default maximum size of the HTTP entity body when using the mutiltipart parser.
541
- # Generall this will be larger than MAX_ENTITY_SIZE
540
+ # The default maximum size of the HTTP entity body when using the multipart parser.
541
+ # General this will be larger than MAX_ENTITY_SIZE
542
542
# If this is not specified it will be the same as MAX_ENTITY_SIZE
543
543
MULTIPART_MAX_ENTITY_SIZE : -1
544
544
@@ -559,19 +559,19 @@ connection-options:
559
559
560
560
# The maximum number of query parameters that are permitted in a request.
561
561
# If a client sends more than this number the connection will be closed.
562
- # This limit is necessary to protect against hash based denial of service attacks.
562
+ # This limit is necessary to protect against hash based denial-of- service attacks.
563
563
# Defaults to 1000.
564
564
MAX_PARAMETERS : 1_000
565
565
566
566
# The maximum number of headers that are permitted in a request.
567
567
# If a client sends more than this number the connection will be closed.
568
- # This limit is necessary to protect against hash based denial of service attacks.
568
+ # This limit is necessary to protect against hash based denial-of- service attacks.
569
569
# Defaults to 200.
570
570
MAX_HEADERS : 200
571
571
572
572
# The maximum number of cookies that are permitted in a request.
573
573
# If a client sends more than this number the connection will be closed.
574
- # This limit is necessary to protect against hash based denial of service attacks.
574
+ # This limit is necessary to protect against hash based denial-of- service attacks.
575
575
# Defaults to 200.
576
576
MAX_COOKIES : 200
577
577
0 commit comments