Blog · WebJi® India

Enable HTTP/2 on Nginx and Apache: Faster Parallel

Quick answer: Enable HTTP/2 on Nginx and Apache: Faster Parallel from WebJi®, billed in INR with 18% GST on the invoice. Email support@webji.services is 24/7 in Hindi and English (average first reply under 60 minutes). Phone +91 141 4941811 is business hours only. The company has been in this business since 2005.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Close-up of rack-mounted servers with glowing blue and green status LEDs, shallow depth of field — enable http2 nginx

What HTTP/2 Changes: Multiplexing and Headers

Prerequisites first, then the one-line change. Browsers negotiate HTTP/2 only over TLS with ALPN, so a working certificate is the entry ticket; Nginx 1.9.5+ supports the protocol, and 1.25.1+ changed the syntax.

Nginx before 1.25.1:

  1. Open the site's SSL server block (the listen 443 one).
  2. Add http2 to the listen line: listen 443 ssl http2;
  3. Test the configuration: nginx -t.
  4. Reload: systemctl reload nginx.
  5. Verify (methods below).

Nginx 1.25.1 and newer: use the dedicated directive — http2 on; — inside the server block, replacing the listen-parameter style. Verify from the browser (DevTools → Network → Protocol column shows h2) or curl -I --http2 https://yourdomain.com. The protocol gain — multiplexed streams instead of queued requests — shows most on image-heavy pages; the VPS server stack gives you the root access this needs, and site speed fundamentals put it in context.

Prerequisites: Nginx Version, TLS, ALPN

Prerequisites: Nginx Version, TLS, ALPN. Do the change this heading names on one site first, then check it in a private browser window or in the mail client, depending on the topic. Change one setting at a time, and undo it if the result is wrong before you try the next. If you want the Jaipur desk to look with you, email support@webji.services — that mailbox is staffed 24/7 in Hindi and English. Phone +91 141 4941811 is business hours only.

Close-up of rack-mounted servers with glowing blue and green status LEDs, shallow depth of field — enable http2 nginx

Step-by-Step: Enable in the server Block

On Nginx listen directive, the honest summary is that defaults matter more than brand names — a well-set budget plan outranks a mis-tuned premium one. WebJi® documents its defaults openly and adjusts them per ticket when workloads need it.

Verify With DevTools and curl

How this plays out with HTTPS/ALPN requirement: settings that look cosmetic usually decide page speed and uptime under real traffic. The defaults WebJi® ships are tuned for Indian network conditions, and support can review your setup on request.

Extras: Server Push and Stream Priorities

Extras: Server Push and Stream Priorities. Do the change this heading names on one site first, then check it in a private browser window or in the mail client, depending on the topic. Change one setting at a time, and undo it if the result is wrong before you try the next. If you want the Jaipur desk to look with you, email support@webji.services — that mailbox is staffed 24/7 in Hindi and English. Phone +91 141 4941811 is business hours only.

Frequently Asked Questions

How do I enable HTTP/2 in Nginx?

Prerequisites first, then the one-line change. Browsers negotiate HTTP/2 only over TLS with ALPN, so a working certificate is the entry ticket; Nginx 1.9.5+ supports the protocol, and 1.25.1+ changed the syntax.

Does HTTP/2 require HTTPS?

For “Does HTTP/2 require HTTPS”: Nginx 1.25.1 and newer: use the dedicated directive — http2 on; — inside the server block, replacing the listen-parameter style. Verify from the browser (DevTools → Network → Protocol column shows h2) or curl -I --http2 https://yourdomain.com. The protocol gain — multiplexed streams instead of queued requests — shows most on image-heavy pages; the VPS server stack gives you the root access this needs, and site speed fundamentals put it in context.

How do I check if HTTP/2 is running?

Enable HTTP/2 on Nginx and Apache: Faster Parallel. Email support@webji.services is 24/7 in Hindi and English, average first reply under 60 minutes. Phone +91 141 4941811 is business hours. If the question is about your own account, open a ticket at https://billing.webji.in/submitticket.php?step=2&deptid=10.

What speed gain does HTTP/2 actually give?

Nginx 1.25.1 and newer: use the dedicated directive — http2 on; — inside the server block, replacing the listen-parameter style. Verify from the browser (DevTools → Network → Protocol column shows h2) or curl -I --http2 https://yourdomain.com. The protocol gain — multiplexed streams instead of queued requests — shows most on image-heavy pages; the VPS server stack gives you the root access this needs, and site speed fundamentals put it in context.

Is HTTP/2 better than HTTP/1.1 for WordPress?

It depends on the plan you order. Enable HTTP/2 on Nginx and Apache: Faster Parallel is billed in INR with 18% GST. Email support@webji.services with this question before you pay — the desk is 24/7 in Hindi and English, and the average first reply is under 60 minutes. Phone +91 141 4941811 is business hours only.

Does LiteSpeed/cPanel hosting already support HTTP/2?

Linux shared and WordPress plans use cPanel. Windows plans use Plesk. The panel login is separate from the client area where you pay invoices and open tickets. If you need a specific panel on a VPS, say so in the quote request to support@webji.services — it is not assumed on every unmanaged server.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →