Skip to content

v0.3.0-rc.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Jun 14:59
· 358 commits to main since this release

NurProxy 0.3.0 (release candidate 3)

A test build for 0.3.0, not the final release. This RC has been run end to end against a real zone (DNS, Let's Encrypt, IPv4 and IPv6 serving, custom proxy directives, teardown, backup/restore, and a real built-in-Caddy agent), so it is in good shape, but it is still a candidate. The stable channels (Homebrew, the AUR, the apt and yum repo, and the :latest Docker image) all stay on 0.2.1 until the final 0.3.0.

0.3.0 is mostly about two things: making NurProxy safer to run, and making it easier to set up and recover when something goes wrong.

A sturdier dashboard login

The login is the front door to everything NurProxy controls, so this release put work into it. Repeated wrong-password attempts get slowed down, so nobody can sit there and guess. The password check no longer leaks the tiny timing differences an attacker could measure. And logging out or changing your password now signs out every session, on every device, not just the browser in front of you.

The session cookie also got smarter about HTTPS. It is marked Secure only when you actually reach the dashboard over HTTPS, so reaching it over plain HTTP by IP keeps working as before. If you put a TLS-terminating proxy in front, have it forward X-Forwarded-Proto, or set the secure_cookies setting to force it.

There is also a clean split between the two kinds of credentials NurProxy uses. An agent's token now only works for the agent's own job and can no longer reach the admin API.

Snapshot and restore in one command

nurproxy backup takes a full snapshot of your orchestrator in a single file: the database, your encrypted DNS credentials, and your certificates. nurproxy restore puts it back. So you can move NurProxy to a new machine, or undo an upgrade that went sideways, without hand-copying files and hoping you caught them all.

IPv6 that just works

If a server has a public IPv6 address, NurProxy now publishes an AAAA record for it automatically, next to the usual A record. Visitors on IPv6 reach your sites over IPv6 with no extra setup.

Certificates are steadier, and your DNS is safer

Certificate requests retry on their own when Let's Encrypt has a temporary hiccup, instead of giving up on the first stumble. If you hit a rate limit, NurProxy reads how long it has to wait and backs off properly instead of hammering. It is also more careful with your DNS now: it only deletes records it created.

Deleting a server, agent, or zone that still has domains is now refused with a clear error that lists the domains, instead of silently tearing them down underneath you. Delete the domains first, then the parent. This closes a case where a managed DNS record could be left behind at your provider.

Setup with less guesswork

When you add a server, NurProxy suggests the subnets it can actually reach, so you pick from a list instead of typing an address and hoping. If you already run nginx, it reads your existing config and offers the backends it finds. The config view gained search, filtering, and grouping by agent, and several commands in the UI now explain what they do right where you click them.

The dashboard also warns you when an agent is running an older version than the orchestrator, so a half-finished upgrade does not turn into a confusing bug hunt.

Clearer signals when something is wrong

The health check at /api/v1/health now actually talks to the database and reports an error when it is stuck, instead of saying "healthy" while nothing works. Logs are structured now, as plain text or JSON, set by an environment variable, so they read better and drop straight into a log tool.

For tinkering: a full sandbox

If you like to try things before trusting them with a real domain, there is now a dry-run mode that runs the whole system, orchestrator and agents together, while faking every DNS and certificate call. No Cloudflare zone, no Let's Encrypt, no ports 80 or 443, no root. make dev-sandbox brings the entire stack up, already populated and clickable, in one command.

Before you upgrade

  • nurproxy backup ships in 0.3.0, so it is not on the version you are upgrading from. Stop the orchestrator and copy its data directory (/var/lib/nurproxy by default) first, so you can roll back. After this, backups are one command.
  • You get signed out on the first logout or password change after upgrading. That is expected.
  • Agent tokens stop working against admin APIs. Point any such scripts at the admin key.
  • DNS records created before 0.3.0 are treated as already yours and are not auto-deleted when you remove a domain, because the older code did not track who made them. Delete those by hand if you want them gone. Records made on 0.3.0 and later are cleaned up for you.

Changes since rc.2

  • Fixed: the bundled Caddy agent (the default mode for a fresh install) now actually serves HTTPS on central TLS. Three gaps on the real-Caddy path stopped it from terminating TLS: a route apply could be rejected, and with managed HTTPS disabled Caddy served plaintext on :443. A built-in-Caddy agent now serves real HTTPS with the provided Let's Encrypt cert end to end.
  • Fixed: a built-in-Caddy agent no longer deletes its own active route's certificate on the next config apply.

The full technical changelog is in CHANGELOG.md.