nginx 버전이 올라갔길래 changelog를 보니 이런 내용이 있었다. [1]

 

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.

 

이말인 즉슨, HTTP2를 사용하기 위해 흔히들 사용했던

listen 443 ssl http2;

가 deprecated 되었고 머지않아 없어질 각을 보고 있다는 얘기인데...

 

사실 크게 문제될 건 없다. 그냥 이렇게만 고쳐주면 된다. [2]

listen 443 ssl;

http2 on;

 

Ref[1]: http://nginx.org/en/CHANGES (Retrieved 2023. 09. 03)

Ref[2]: http://nginx.org/en/docs/http/ngx_http_v2_module.html (Retrieved 2023. 09. 03)