frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Nginx Control API: View In-Memory Configuration and Reload via HTTP Requests

https://blog.nginx.org/blog/nginx-control-api-view-in-memory-configuration-and-reload-via-http-requests
3•aaaaffine•46m ago

Comments

aaaaffine•46m ago
From the blog post:

Before the latest release, NGINX had to be controlled exclusively by Unix signals. The most notable one is SIGHUP or the well-known “nginx -s reload” command. This configuration method, while very stable, does not meet modern environment requirements: there are very few available options, no direct feedback messages on errors, and no real extensibility. We fixed that.

NGINX recently published the version 1.31.5 release containing a new feature called the NGINX Control API. This is a new interface for reading configuration and triggering reload operations that presents these functions to the user over a REST API. Filesystem system configuration files and UNIX signal daemon management are not optimal for all users of NGINX. With the rise of Kubernetes and the continued dominance of containers as a deployment target for NGINX we wanted to provide configuration and management interfaces that better support using NGINX in containers or behind managed deployments. The NGINX Control API provides a way to read and reload configuration that is transactional, returning deterministic success or failure codes as any HTTP response would. This Control API can be served across a trusted network. Furthermore, the Control API provides an interface that does not experience any interruption during reload.

Newly released, this Control API provides the ability to read the current in-memory configuration associated with a master process. This is a completely new capability. Since NGINX has always had the potential to reject a new configuration and continue unaffected during a reload, users sometimes fall into a trap where they no longer know what configuration NGINX is then running. The configuration on disk may have completely changed but NGINX is still running some old configuration. Before Control API there was no method of retrieving that current configuration. Finally in these cases the user can simply fetch it with an HTTP request.

The Control API also provides facilities to trigger NGINX reloads. This will capture all logs during reload and return them in the response to the user. Additionally, the HTTP status code in this response will provide a simple way to answer the question “did this reload succeed or fail”. Previously, users may have had to export and search through logs for this information or potentially check PIDs of worker processes. The Control API holds a unique position to capture post-reload failures such as socket permission errors that previously were only observable through the logs of a new master process. These failures, while not loggable by the old master configuration, are reflected in the HTTP status code of the response. This is a new capability for NGINX. Previously users who relied on commands such as “nginx -s reload” or by sending SIGHUP to the master process had to then search the logs to make sure the reload succeeded. Now this information is relayed to them automatically when they request a reload over the Control API.

In our experience, this API makes it trivially simple to create UIs and scripts for advanced NGINX management and control.

I don't care about majors, minors, or honors programs. Do you?

https://blog.computationalcomplexity.org/2026/09/i-dont-care-about-majors-minors-or.html
1•mathattack•14s ago•0 comments

Ask HN: How close are we to AI bubble bursting?

1•bg117•23s ago•0 comments

The Questionable Legality of ICE's Palantir Elite System

https://www.techpolicy.press/from-records-to-raids-the-questionable-legality-of-ices-palantir-eli...
1•cdrnsf•33s ago•0 comments

The Influence of AI on Human Decisions in DHS Surveillance

https://www.techpolicy.press/the-influence-of-ai-on-human-decisions-in-dhs-surveillance/
1•cdrnsf•52s ago•0 comments

What Jev Means for the Future of Evals

https://armank.com/thoughts/3
1•armank-dev•3m ago•0 comments

Hands-On with Googlebooks

https://www.tomshardware.com/laptops/hands-on-with-googlebooks-five-models-the-new-googlebook-os-...
1•Shuddown•4m ago•0 comments

North Korea Stopped Nuclear Testing in 2017, Triggered 1k Earthquakes Since

https://www.sciencealert.com/north-korea-stopped-nuclear-testing-in-2017-but-triggered-nearly-140...
1•gmays•4m ago•0 comments

The Sun Doesn't Shine on Me (2006)

https://fullhoffman.com/2006/03/20/the-sun-doesnt-shine-on-me/
1•simonebrunozzi•9m ago•0 comments

BBC removes 11 Mitchell and Webb comedy sketches from iPlayer

https://www.bbc.co.uk/news/articles/c6jdvpr30k8jo
1•benj111•9m ago•0 comments

You're a Meat Proxy

https://twitter.com/i/status/2101779116056088732
1•Michelangelo11•9m ago•0 comments

Antigravity Spaces – Switch Antigravity IDE Projects Easily

https://github.com/ApollosWave/antigravity-spaces
1•apolloswave•11m ago•0 comments

Iron willpower is an illusion – composure is the real engine of self-control

https://drdeborst.substack.com/p/iron-willpower-is-an-illusion-composure
2•dr-j•11m ago•0 comments

Show HN: Jobs at Recently Funded Startups

https://www.vcbacked.co/jobs
1•veritas9•12m ago•0 comments

Chess Design Timeline

https://chess-timeline.vercel.app/
2•msotomorras•13m ago•1 comments

Database Normalization

https://en.wikipedia.org/wiki/Database_normalization
1•gregsadetsky•15m ago•0 comments

We Asked a Urologist Whether Icing Your Testicles Boosts Testosterone

https://geiselmed.dartmouth.edu/news/2026/we-asked-a-urologist-whether-icing-your-testicles-reall...
1•harry_nutsachs•17m ago•0 comments

Guess the Country from Demographic Data

https://www.demoguessr.com/
1•BjarkeErichsen•19m ago•1 comments

Show HN: TickerWhale – nightly 0-100 scores and fair values for 1,300 stocks

https://tickerwhale.com
1•nacer222•20m ago•0 comments

Googlebook – Meet the Lineup and pre-order

https://googlebook.google/shop/
1•bretpiatt•23m ago•1 comments

Grok 4.7 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/grok-4-7
4•theanonymousone•23m ago•0 comments

Show HN: Agent Chaperone – Screen AI agent tool calls and results with Jev

https://github.com/agent-chaperone/agent-chaperone
2•sepehrsafari•25m ago•0 comments

Show HN: flyOS – A fruit fly connectome simulated in real time on an iPhone

https://www.becomethefly.com
2•coryetzkorn•25m ago•0 comments

Saudi Arabia's Ceer launches flagship electric vehicles

https://www.agbi.com/manufacturing/2026/09/saudi-arabias-ceer-launches-flagship-electric-vehicles/
4•abdullahalharir•27m ago•0 comments

Modulate ML Team Announces New Public Entity Transcription Benchmark

https://www.modulate.ai/blog/modulate-ml-team-announces-new-public-entity-transcription-benchmark
1•voicevector5•28m ago•0 comments

WTF Is Up with Napster's AI Pivot?

https://tedium.co/2026/09/21/napster-ai-pivot/
2•speckx•28m ago•0 comments

Alcor: Simulate cpuid and sgdt/sidt results per-process

https://github.com/er-azh/alcor
2•Tiberium•28m ago•0 comments

Google hit with €403M fine by Irish data watchdog over GDPR violations

https://www.bbc.co.uk/news/articles/ck1e52v16ngxo
2•philbo•29m ago•0 comments

Raspberry Pi founder Eben Upton: 'I'm an Omni-geek

https://www.ft.com/content/2285c111-b103-4b04-96c7-fe26a3c04c3e
1•imichael•30m ago•0 comments

Grok 4.7 is here with Electrical engineering benchmark which beats fable 5.1 max

https://twitter.com/hive_echo/status/2102072241420898708
1•echohive42•31m ago•0 comments

Delta A21N at Kahului on Sep 19th 2026, fuel fumes on board

https://avherald.com/h?article=541628f4
2•r2sk5t•34m ago•0 comments