Closed
Description
Summary
After updating the Ubuntu LTS packages I noticed a nginx
notice during reload:
http2" directive is deprecated, use the "http2" directive instead
The current nginx
site configuration use the old, deprecated directive for enabling http2
:
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
Instead of using http2
in the listen
directive, the http2
directive (http2 on
) should be used instead:
server {
listen [::]:443 ssl;
listen 443 ssl;
http2 on;