Drop the http2 aside
tests / runner-env (pull_request_target) Successful in 34s
tests / tests (pull_request_target) Successful in 53s

The block does not use the directive and the section is about a firewall
pinhole. Explaining which nginx releases spell it which way asks the reader to
decide something unrelated to the rule they came here for, in the middle of the
part that matters.
This commit is contained in:
2026-08-17 15:26:11 -07:00
parent 1d1c09addd
commit 4cf688b3c2
-5
View File
@@ -373,11 +373,6 @@ server {
}
```
No `http2` here, in either form. It is spelled `listen ... ssl http2;` before
nginx 1.25.1 and `http2 on;` from 1.25.1, so whichever you write is a startup
error on the other side of that line, and ntfy needs neither. Copy the `listen`
line from a vhost that already works on this server if you want it.
**A dedicated address**, if you would rather every client kept the same URL. Add
a second IP to the proxy, bind ntfy to it, point the DNS record at it, and open
443 on that address only.