Discover Centmin Mod today
Register Now

Nginx 1.19.7+ Deprecated HTTP/2 variables

Discussion in 'Centmin Mod News' started by eva2000, Feb 13, 2021.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    46,244
    10,512
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,295
    Local Time:
    2:39 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Updated Centmin Mod 123.09beta01 in preparation for some changes made into the next Nginx 1.19.7+ version to be released as outlined at Beta Branch - disable deprecated HTTP/2 variables in Nginx 1.19.7+ in 123.09beta01. Existing Centmin Mod 123.09beta01 or higher users can first run cmupdate to update local code and then run centmin.sh menu option 4 to recompile Nginx 1.19.7 to auto disable deprecated variables from nginx vhosts when Nginx 1.19.7 is eventually released.

    Nginx 1.19.7 will deprecate HTTP/2 variables in nginx 1.19.7+ as per http://hg.nginx.org/nginx/rev/827202ca1269 and http://hg.nginx.org/nginx/rev/f790816a0e87 for http2_max_field_size, http2_max_header_size and http2_max_requests

    If you're using these deprecated HTTP/2 variables in Nginx 1.19.7+ vhosts, on Nginx service restarts or Nginx config checks (nginx -t), you'll get Nginx warning messages as such but the Nginx service will still start and run Nginx server fine. Example warning message:

    Code (Text):
    nginx: [warn] the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:26
    nginx: [warn] the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:27
    nginx: [warn] the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:28
    
     
Thread Status:
Not open for further replies.