There are three ways to customize NGINX:
- ConfigMap: using a Configmap to set global configurations in NGINX.
- Annotations: use this if you want a specific configuration for a particular Ingress rule.
- Custom template: when more specific settings are required, like open_file_cache, adjust listen options as
rcvbufor when is not possible to change the configuration through the ConfigMap.