title: Edit max_conns in Kubernetes ingress Ngnix?
body: <p>Im trying to limit the number of concurrent connection to servers in my Nginx ingress.</p>
  
  <p>is max_conns supported in Ngnix ingress? how can i edit or add it?</p>
  
  <blockquote>
    <p>max_conns=number
    limits the maximum number of simultaneous active connections to the proxied server (1.11.5). Default value is zero, meaning there is no limit. If the server group does not reside in the shared memory, the limitation works per each worker process.</p>
  </blockquote>
  
  <p><a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream" rel="nofollow noreferrer">http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream</a></p>
  
  <p>exmple of an Nginx conf using max_conn</p>
  
  <pre><code>upstream backend {
  server backend1.example.com  max_conns=3;
  server backend2.example.com;}
  </code></pre>
  
  <p>thanks</p>