For sake of completeness, the docs for client_header_buffer_size state the following: "Sets buffer size for reading client request header.   client_header_buffer_size 4k; #maxinactive open_file_cache max=65535 inactive=60s; # Nginx mime typeWebNginxNginx  default_type nginxheader4k headernginx4002nginxheader client_header_buffer_size 16k; large_client_header_buffers 4 16k;  nginxheader     default: is disabled. Syntax: client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server.  Nginx4     cpunginxworkcpuworkcpu  For most requests, a buffer of 1K bytes is enough.   nginx.confclient_header_buffer_sizelarge_client_header_bufferps  getconf PAGESIZE client_header_buffer_size 32k; #nginxclient_header_buffer_sizebufferheaderheaderlarge_client_header_buffers  nginxheader4k headernginx4002nginxheader client_header_buffer_size 16k; large_client_header_buffers 4 16k;  nginxheader In this case, remove the default server {} block from the /etc/nginx/nginx.conf file and paste the contents from the bottom of the page in its place. Nginx  Nginx('engine x')Igor Sysoev Web   IMAP/POP3/SMTP  NginxApache Nginx  CentOS release 6.6 (Final) 64  yum -y.. To disable specific modules, you need to recompile Nginx.  Important: my Kubernetes version is 1.18.8 so the above definition is still valid; for 1.19, check the docs The above creates an ingress for test.baeke.info and requires tls with the certificate in the nginx-cert secret. cpunginxworkcpuworkcpu nginx -s quit Nginxweb nginx -s reload Nginx nginx -s reopen  nginx -c filename  Nginx  nginx -t  Enables the modsecurity module for NGINX.    client_header_buffer_sizeheaderbuffer1KCookie32K   nginx   ,     ,    ,   "/download/". OSsendfile sendfilenginx(jscss off Nginx mime typeWebNginxNginx  default_type 6.  Important: my Kubernetes version is 1.18.8 so the above definition is still valid; for 1.19, check the docs The above creates an ingress for test.baeke.info and requires tls with the certificate in the nginx-cert secret.  .  If doing this, proceed to step 7.  For sake of completeness, the docs for client_header_buffer_size state the following: "Sets buffer size for reading client request header.   2cpu. To disable specific modules, you need to recompile Nginx. Currently, we cannot choose modules at runtime. Example nginx configuration. default: is disabled. Currently, we cannot choose modules at runtime. enable-owasp-modsecurity-crs  Enables the OWASP ModSecurity Core Rule Set (CRS).  By default, nginx caches answers using the TTL value of a response. Start NGINX Nginx.  An example site configuration that passes all requests to the backend except images and requests starting with "/download/".  Nginx  Web  IMAP/POP3/SMTP Nginx  For most requests, a buffer of 1K bytes is enough. client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server: Sets buffer size for reading client request header. Nginx4       . An optional valid parameter allows overriding it: resolver 127.0.0.1 [::1]:5353 valid=30s; Internet  Internet enable-owasp-modsecurity-crs  Enables the OWASP ModSecurity Core Rule Set (CRS). After a while, you will see      However, if a request includes long cookies, or  default: is disabled. Enable the Home Assistant NGINX configuration cd /etc/nginx/sites-enabled sudo unlink default sudo ln ../sites-available/hass default 7.  default: is disabled. In this case, remove the default server {} block from the /etc/nginx/nginx.conf file and paste the contents from the bottom of the page in its place. modsecurity-snippet  Adds custom rules to modsecurity section of nginx configuration. Enables the modsecurity module for NGINX.     cookieNginx. An example site configuration that passes all requests to the backend except images and requests starting with "/download/".  cookieNginx.   cpunginxworkcpuworkcpu Example nginx configuration. For sake of completeness, the docs for client_header_buffer_size state the following: "Sets buffer size for reading client request header. To disable specific modules, you need to recompile Nginx. default: is disabled. Example nginx configuration.   While installing Nginx, in default it includes many modules. client_header_buffer_sizeheaderbuffer1KCookie32K client_header_buffer_size 4k; #maxinactive open_file_cache max=65535 inactive=60s; # Nginx  Nginx('engine x')Igor Sysoev Web   IMAP/POP3/SMTP  NginxApache Nginx  CentOS release 6.6 (Final) 64  yum -y..   modsecurity-snippet  Adds custom rules to modsecurity section of nginx configuration.  After a while, you will see    nginx   ,     ,    ,   "/download/". Start NGINX nginx.confclient_header_buffer_sizelarge_client_header_bufferps  2cpu. enable-owasp-modsecurity-crs  Enables the OWASP ModSecurity Core Rule Set (CRS). Nginx.  Nginx  Nginx('engine x')Igor Sysoev Web   IMAP/POP3/SMTP  NginxApache Nginx  CentOS release 6.6 (Final) 64  yum -y.. Nginx is a lightweight, open-source, robust, high-performance HTTP server and a reverse proxy. For most requests, a buffer of 1K bytes is enough.  By default, nginx caches answers using the TTL value of a response. Enable the Home Assistant NGINX configuration cd /etc/nginx/sites-enabled sudo unlink default sudo ln ../sites-available/hass default 7. Internet  Internet  6. Start NGINX  Nginx.  modsecurity-snippet  Adds custom rules to modsecurity section of nginx configuration.     nginx   ,     ,    ,   "/download/".  Currently, we cannot choose modules at runtime. Nginx mime typeWebNginxNginx  default_type  Nginx  Web  IMAP/POP3/SMTP Nginx  default: is disabled. Important: my Kubernetes version is 1.18.8 so the above definition is still valid; for 1.19, check the docs The above creates an ingress for test.baeke.info and requires tls with the certificate in the nginx-cert secret. 2cpu. nginx -s quit Nginxweb nginx -s reload Nginx nginx -s reopen  nginx -c filename  Nginx  nginx -t   By default, nginx caches answers using the TTL value of a response. An optional valid parameter allows overriding it: resolver 127.0.0.1 [::1]:5353 valid=30s; getconf PAGESIZE client_header_buffer_size 32k; #nginxclient_header_buffer_sizebufferheaderheaderlarge_client_header_buffers  Nginx  Web  IMAP/POP3/SMTP Nginx  In this case, remove the default server {} block from the /etc/nginx/nginx.conf file and paste the contents from the bottom of the page in its place. However, if a request includes long cookies, or  If doing this, proceed to step 7. An example site configuration that passes all requests to the backend except images and requests starting with "/download/". After a while, you will see     If doing this, proceed to step 7.   Nginx4     getconf PAGESIZE client_header_buffer_size 32k; #nginxclient_header_buffer_sizebufferheaderheaderlarge_client_header_buffers  cookieNginx.   client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server: Sets buffer size for reading client request header. client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server: Sets buffer size for reading client request header. Nginx is a lightweight, open-source, robust, high-performance HTTP server and a reverse proxy.   1KCookieWAP1K  nginxheader4k headernginx4002nginxheader client_header_buffer_size 16k; large_client_header_buffers 4 16k;  nginxheader Syntax: client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server.  OSsendfile sendfilenginx(jscss off OSsendfile sendfilenginx(jscss off 6.  An optional valid parameter allows overriding it: resolver 127.0.0.1 [::1]:5353 valid=30s; Syntax: client_header_buffer_size size; Default: client_header_buffer_size 1k; Context: http, server.  1KCookieWAP1K However, if a request includes long cookies, or  Enables the modsecurity module for NGINX.  . Enable the Home Assistant NGINX configuration cd /etc/nginx/sites-enabled sudo unlink default sudo ln ../sites-available/hass default 7.     While installing Nginx, in default it includes many modules. client_header_buffer_sizeheaderbuffer1KCookie32K While installing Nginx, in default it includes many modules.   Internet  Internet nginx -s quit Nginxweb nginx -s reload Nginx nginx -s reopen  nginx -c filename  Nginx  nginx -t  Nginx is a lightweight, open-source, robust, high-performance HTTP server and a reverse proxy. client_header_buffer_size 4k; #maxinactive open_file_cache max=65535 inactive=60s; #  nginx.confclient_header_buffer_sizelarge_client_header_bufferps  1KCookieWAP1K