Urgent.News

What's breaking now, across hundreds of outlets.

World

nginx "unknown directive http2" — the One-Line Fix, and Why apt upgrade Brings It Back

A field note about a mail server whose web side went fully dark on a fresh install — one directive nginx did not know, the version gap behind it, and why the fix silently disappears on the next apt upgrade . The message was short. “Webmail is down. The admin panel is down too.” The server was a self-hosted grommunio box on Ubuntu 24.04 — a proof-of-concept mail platform, freshly installed. “Is…

A newly installed mail server on Ubuntu 24.04 experienced a web side failure after an nginx configuration issue. The problem stemmed from the distribution providing an outdated version of nginx (1.24.0) that did not recognize a newly introduced directive in the vendor config, "http2 on;". Because the web services relied on nginx, the entire server went down when the update was applied.

The issue was not with the mail service itself, but with the outdated nginx configuration. The fix involved checking nginx version, identifying and commenting out the "http2 on;" line, restarting nginx, and verifying the service was active and accessible through a browser. The issue would recur if the distribution updated nginx and overwrote the user-edited configuration file.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in World

BepiColombo Reaches Mercury to Investigate Why the Planet is Shrinking

After eight years traveling through the solar system, the BepiColombo mission entered Mercury’s orbit on Nov. 21, 2026, marking a new chapter in the exploration of the planet closest to the sun. Developed jointly by the European Space Agency (ESA) and the Japan Aerospace Exploration Agency (JAXA), the mission aims to answer some of the…

More from Monday 23 November →