Skip to content

Commit

Permalink
Add document for connection-proxy-header annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
qiujian16 committed Feb 1, 2018
1 parent d7ef6b3 commit 316d881
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/user-guide/annotations.md
Expand Up @@ -60,6 +60,7 @@ The following annotations are supported:
|[nginx.ingress.kubernetes.io/whitelist-source-range](#whitelist-source-range)|CIDR|
|[nginx.ingress.kubernetes.io/proxy-buffering](#proxy-buffering)|string|
|[nginx.ingress.kubernetes.io/ssl-ciphers](#ssl-ciphers)|string|
|[nginx.ingress.kubernetes.io/connection-proxy-header](#connection-proxy-header)|string|

**Note:** all the values must be a string. In case of booleans or number it must be quoted.

Expand Down Expand Up @@ -430,3 +431,10 @@ Using this annotation will set the `ssl_ciphers` directive at the server level.
```yaml
nginx.ingress.kubernetes.io/ssl-ciphers: "ALL:!aNULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
```

### Connection proxy header
Using this annotation will override the default connection header set by nginx. To use custom values in an Ingress rule, define the annotation:

```yaml
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
```

0 comments on commit 316d881

Please sign in to comment.