ingress-nginx-helm/docs/examples/customization/custom-configuration/README.md
Leonidas 2fbcd3c8bf
Readme Syntax fix
Simple syntax fix
2021-02-04 15:16:01 +02:00

703 B

Custom Configuration

Using a ConfigMap is possible to customize the NGINX configuration

For example, if we want to change the timeouts we need to create a ConfigMap:

$ cat configmap.yaml
apiVersion: v1
data:
  proxy-connect-timeout: "10"
  proxy-read-timeout: "120"
  proxy-send-timeout: "120"
kind: ConfigMap
metadata:
  name: ingress-nginx-controller
curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/customization/custom-configuration/configmap.yaml \
    | kubectl apply -f -

If the Configmap is updated, NGINX will be reloaded with the new configuration.