Skip to content

Conversation

@ShimmerGlass
Copy link
Collaborator

@ShimmerGlass ShimmerGlass commented Apr 27, 2020

This option adds a header in the style of "X-Forwarded-For", but
containing the app name that made the request.
The information is extracted from the client certificate.

Example configuration:

{
  "service": {
    "name": "socat",
    "port": 8181,
    "connect": {
      "sidecar_service": {
        "proxy": {
          "config": {
            "appname_header": "X-App"
          }
        }
      }
    }
  }
}

This options adds a header in the style of "X-Forwarded-For", but
containing the app name that made the request.
The information is extracted from the client certificate.

Example configuration:
```
{
  "service": {
    "name": "socat",
    "port": 8181,
    "connect": {
      "sidecar_service": {
        "proxy": {
          "config": {
            "appname_header": "X-App"
          }
        }
      }
    }
  }
}
```
@aiharos aiharos merged commit 9a1eaf3 into master Apr 27, 2020
@ShimmerGlass ShimmerGlass deleted the appname branch April 27, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants