diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-12-01 10:04:21 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-12-01 10:04:21 +0000 |
| commit | 2b144b691b79206ef5d4f8a0ae39c5baaddd2ea2 (patch) | |
| tree | 9bdd88d81e8ad3508a4f62a1378932a10abb79aa /scripts/plot-genotypes.py | |
| parent | 18938cec613dac4998f2749499b3ac7259dc8cfc (diff) | |
| download | genenetwork4-2b144b691b79206ef5d4f8a0ae39c5baaddd2ea2.tar.gz | |
nginx: the host root answers nothing, instead of "Hello, world!"
Visiting the hostname redirected to /gn4/ and printed GN4's welcome, which tells anyone who finds the host that there is an API behind it and invites a probe. The mount point is /gn4/; the root now holds the request open and answers with nothing at all -- no page, no redirect, no status line to report. proxy_pass points at TEST-NET-1 (RFC 5737), which is never routed, so the connect attempt simply goes nowhere and the visitor's browser gives up first; the 300s timeouts are the backstop, not the intent. Measured on this host's nginx 1.26.3 in a scratch instance: /ok answered in 0.5 ms while / hit curl's 5s timeout (exit 28), and `nginx -t' accepted the configuration. Holding a request costs a socket, so limit_conn caps it at four per address -- a scanner cannot park threads on the root without a lot of addresses. The comment carries the cheaper alternative (`return 444'), which closes the connection with no reply and is what to switch to if this ever looks like it is costing more than it is worth. /gn4/ is untouched: it is where the API, the skill and every client live.
Diffstat (limited to 'scripts/plot-genotypes.py')
0 files changed, 0 insertions, 0 deletions
