Use the http2 directive in nginx instead of the deprecated method of appending it to the end of the listen

This commit is contained in:
Kevin MacMartin 2024-06-24 22:27:07 -04:00
parent ab8373d52d
commit c44af7bde7

View file

@ -8,8 +8,9 @@ server {
}
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
listen [::]:443 ssl;
listen 443 ssl;
http2 on;
server_name stats.REPLACEME.TLD;
root /srv/http/stats.REPLACEME.TLD;