Skip to content

fix(deploy): keep reactome.org's retirement a 503, not a browser warning - #224

Merged
adamjohnwright merged 2 commits into
mainfrom
fix/nginx-retired-aliases
Sep 16, 2026
Merged

adamjohnwright merged 2 commits into
mainfrom
fix/nginx-retired-aliases

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Found by reading the authenticator list after migrating beta's certificate:
reactome.org was still on apache. Following that thread showed the nginx
configuration had a matching gap.

The gap

This box answers for reactome.org and www.reactome.org — not because it
serves them, production does, but because the retired Apache vhost lists them as
aliases and presents the reactome.org certificate when something points there.

dev.conf had no server block for either name, so they would have fallen to the
catch-all and been shown beta's certificate. A name mismatch, so a browser
security warning where Apache currently gives a clean 503 — a worse retirement
than the one being replaced.

The fix

They get their own server block and their own certificate, returning 503.

Verified against a running nginx:

Host
reactome.org 503
www.reactome.org 503
dev.reactome.org 503
unknown name 503
beta.reactome.org proxies

What this changes about the cutover

Three certificates must renew without Apache, not two. That is easy to talk
yourself out of — production serves the name, so why keep the certificate here —
and the answer is that this box still answers for it.

All three have since been moved to dns-cloudflare on the dev box. Proving they
renew is a separate, in-progress step; the configuration in this PR is what makes
the third one necessary.

🤖 Generated with Claude Code

adamjohnwright and others added 2 commits September 16, 2026 20:23
Found by reading the authenticator list after migrating beta: reactome.org
was still on `apache`, and following that thread showed the nginx config
had a matching gap.

This box answers for `reactome.org` and `www.reactome.org` -- not because
it serves them, production does, but because the retired Apache vhost
lists them as aliases and presents the reactome.org certificate when
something points there. My configuration had no server block for either,
so they would have fallen to the catch-all and been shown *beta's*
certificate: a name mismatch, and therefore a browser security warning
where Apache gives a clean 503. That is a worse retirement than the one
being replaced.

They get their own block and their own certificate now, returning 503 as
before. Verified: reactome.org, www.reactome.org, dev.reactome.org and an
unknown name all 503; beta still proxies.

Which means three certificates must renew without Apache before any
cutover, not two. That is easy to talk yourself out of -- production
serves the name, so why keep the certificate -- and the answer is that
this box still answers for it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
reactome.org must renew without Apache too. This box answers for that
name and for www because the retired vhost lists them as aliases, so the
certificate has to keep existing and keep renewing -- otherwise those
names get beta's certificate and a browser warning instead of a 503.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit 51b5598 into main Sep 16, 2026
6 checks passed
@adamjohnwright
adamjohnwright deleted the fix/nginx-retired-aliases branch September 16, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant