Skip to content

Commit

Permalink
Merge pull request #4849 from dene14/fcgi-docs-fix
Browse files Browse the repository at this point in the history
Fixed documentation for FCGI annotation.
  • Loading branch information
k8s-ci-robot authored Dec 19, 2019
2 parents 0ae5892 + 8bf155d commit 9f229e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/fcgi-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ To specify an index file, the `fastcgi-index` annotation value can optionally be

To specify [_NGINX_ `fastcgi_param` directives](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_param), the `fastcgi-params-configmap` annotation is used, which in turn must lead to a _ConfigMap_ object containing the _NGINX_ `fastcgi_param` directives as key/values.

> `nginx.ingress.kubernetes.io/fastcgi-params: "example-configmap"`
> `nginx.ingress.kubernetes.io/fastcgi-params-configmap: "example-configmap"`

And the _ConfigMap_ object to specify the `SCRIPT_FILENAME` and `HTTP_PROXY` _NGINX's_ `fastcgi_param` directives will look like the following:

Expand All @@ -114,4 +114,4 @@ data:
```
Using the _namespace/_ prefix is also supported, for example:

> `nginx.ingress.kubernetes.io/fastcgi-params: "example-namespace/example-configmap"`
> `nginx.ingress.kubernetes.io/fastcgi-params-configmap: "example-namespace/example-configmap"`

0 comments on commit 9f229e9

Please sign in to comment.