Back to Linter
Infoperformance

HTTP/2 Disabled

Benefits of HTTP/2 in Nginx and how to enable it.

What This Rule Checks

This rule checks if HTTP/2 is enabled when SSL is active. HTTP/2 requires HTTPS.

Why It Matters

HTTP/2 provides multiplexing (multiple requests over one connection), header compression, and server push. These features significantly improve page load performance, especially for sites with many assets.

Bad — Triggers this rule

server {
    listen 443 ssl;
    server_name example.com;
    # Missing http2
}

Good — Passes this rule

server {
    listen 443 ssl http2;
    server_name example.com;
}

How to Fix

Enable HTTP/2 in Configen's Performance section. Note: HTTP/2 requires SSL/TLS to be enabled first.

Related Rules

Check your config now

Paste your nginx.conf and get instant feedback on 20+ rules.

Open Linter →