Nginx 1.25.1

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
705
Location
🇳🇱
Changes with nginx 1.25.1 13 Jun 2023

*) Feature: the "http2" directive, which enables HTTP/2 on a per-server
basis; the "http2" parameter of the "listen" directive is now
deprecated.

*) Change: HTTP/2 server push support has been removed.

*) Change: the deprecated "ssl" directive is not supported anymore.

*) Bugfix: in HTTP/3 when using OpenSSL.
 
Do we have to wait for DA updates to grab these? Some updates are delayed by weeks now.
 
@BillyS yes, they fix software update with DA update, which they update monthly. But if there will be some critical update - they will push it to older releases.
 
Some software ( nginx, apache ) can use customize version update to get update immediately.
 
Nginx & PHP files are now directly downloaded from their official mirrors so you can just use custom_versions.txt and don’t have to wait.
 
This is a change for the templates that needs to be updated:

Code:
*) Feature: the "http2" directive, which enables HTTP/2 on a per-server
basis; the "http2" parameter of the "listen" directive is now
deprecated.

So the ssl on; directive is now removed and the http2 on; directive is added instead of the http2 parameter in the listen directive.
 
Just tried on a test server, and got warning

nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:30
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:31
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/directadmin/data/users/test-user/nginx.conf:55

I thought when DA provides update to nginx 1.25.1, they should update the default config too. But the default config is still using the old format.
 
Back
Top