Skip to content

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
  proxy-connect-timeout: "10"
  proxy-read-timeout: "120"
  proxy-send-timeout: "120"
kind: ConfigMap
  name: ingress-nginx-controller
curl \
    | kubectl apply -f -

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