Skip to content

Commit

Permalink
Docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Schneider committed Mar 16, 2021
1 parent 8771aba commit 90c78cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ docker run --rm -p 8080:8080 -v `pwd`:/htdocs avenga/couper
| COUPER_HEALTH_PATH | `/healthz` | Path for health-check requests for all servers and ports. |
| COUPER_NO_PROXY_FROM_ENV | `false` | Disables the connect hop to configured [proxy via environment](https://godoc.org/golang.org/x/net/http/httpproxy). |
| COUPER_REQUEST_ID_FORMAT | `common` | If set to `uuid4` a rfc4122 uuid is used for `req.id` and related log fields. |
| COUPER_SECURE_COOKIES | `""` | If set to `"strip"`, the `Secure` flag of all `Set-Cookie` HTTP header fields are removed. |
| COUPER_ACCESS_LOG_PARENT_FIELD | `""` | An option for `json` log format to add all log fields as child properties. |
| COUPER_ACCESS_LOG_TYPE_VALUE | `couper_access` | Value for the log field `type`. |
| COUPER_ACCESS_LOG_REQUEST_HEADERS | `User-Agent, Accept, Referer` | A comma separated list of header names whose values should be logged. |
Expand Down
11 changes: 6 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,12 +780,13 @@ gateway instance.
| *context* | Root of the configuration file. | |
| *label* | Not impplemented. | |
| **Attributes** | **Description** | **Default** |
| `health_path` | health path which is available for all configured server and ports | `/healthz` |
| `health_path` | Health path which is available for all configured server and ports | `/healthz` |
| `no_proxy_from_env` | Disables the connect hop to configured [proxy via environment](https://godoc.org/golang.org/x/net/http/httpproxy). | `false` |
| `default_port` | port which will be used if not explicitly specified per host within the [`hosts`](#server-block) list | `8080` |
| `log_format` | switch for tab/field based colored view or json log lines | `common` |
| `xfh` | option to use the `X-Forwarded-Host` header as the request host | `false` |
| `request_id_format` | if set to `uuid4` a rfc4122 uuid is used for `req.id` and related log fields | `common` |
| `default_port` | Port which will be used if not explicitly specified per host within the [`hosts`](#server-block) list | `8080` |
| `log_format` | Switch for tab/field based colored view or json log lines | `common` |
| `xfh` | Option to use the `X-Forwarded-Host` header as the request host | `false` |
| `request_id_format` | If set to `uuid4` a rfc4122 uuid is used for `req.id` and related log fields | `common` |
| `secure_cookies` | If set to `"strip"`, the `Secure` flag of all `Set-Cookie` HTTP header fields are removed. | `""` |

### Health-Check

Expand Down

0 comments on commit 90c78cc

Please sign in to comment.