Enable HTTP/2

To enable HTTP/2 connections, edit nginx site speciffic files.

$ sudo vi /etc/nginx/sites-available/www.lama-lab.mydns.jp.conf

Add “http2” word at the end of listen sentence

listen 443 ssl;
http2 on;

Then restart Nginx.

$ sudo systemctl restart nginx

Last Updated on June 5, 2024 by lama-admin


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *