README.md in macaw_framework-1.0.2 vs README.md in macaw_framework-1.0.3
- old
+ new
@@ -83,10 +83,16 @@
{
"macaw": {
"port": 8080,
"bind": "localhost",
"threads": 10,
+ "log": {
+ "max_length": 1024,
+ "sensitive_fields": [
+ "password"
+ ]
+ },
"cache": {
"cache_invalidation": 3600,
"ignore_headers": [
"header-to-be-ignored-from-caching-strategy",
"another-header-to-be-ignored-from-caching-strategy"
@@ -98,10 +104,12 @@
"rate_limiting": {
"window": 10,
"max_requests": 3
},
"ssl": {
+ "min": "SSL3",
+ "max": "TLS1.3",
"cert_file_name": "path/to/cert/file/file.crt",
"key_file_name": "path/to/cert/key/file.key"
}
}
}
@@ -132,9 +140,11 @@
Rate Limit window should also be specified in seconds. Rate limit will be activated only if the `rate_limiting` config
exists inside `application.json`.
If the SSL configuration is provided in the `application.json` file with valid certificate and key files, the TCP server
will be wrapped with HTTPS security using the provided certificate.
+
+The supported values for `min` and `max` in the SSL configuration are: `SSL2`, `SSL3`, `TLS1.1`, `TLS1.2` and `TLS1.3`
If prometheus is enabled, a get endpoint will be defined at path `/metrics` to collect prometheus metrics. This path
is configurable via the `application.json` file.
The verb methods must always return a string or nil (used as the response), a number corresponding to the HTTP status