Repository navigation
v1.0.2 — no certificate in the package
No certificate in the package
v1.0.0 shipped nyx/certs/nyx.crt, nyx/nginx/server.crt and nyx/nginx/server.csr. None had a
key beside it — .gitignore has always excluded *.key — so those files were either a demo
certificate nobody rotates or the operator's own public certificate copied into every clone. And a
fresh clone could not start the proxy anyway, since nginx needs the key to match the certificate.
They are gone, and the stack generates what it needs.
What a fresh clone does now
cd nyx/docker-compose
cp .env.example .env # PG_PASSWORD, AMQC_PASSWORD
docker compose up -dcertgen (alpine/openssl:3.5.9, pinned) runs first — nginx waits for it with
condition: service_completed_successfully — and writes a self-signed pair into nyx/certs/:
2048-bit RSA, 825 days, key in 600, CN and subjectAltName taken from NYX_HOST, plus
localhost and 127.0.0.1 always present. No openssl command, no missing file.
NYX_HOST=nyx.example.com docker compose up -dWhat it does not do
- It never overwrites. A pair already in
nyx/certs/makescertgenexit saying so, which is
what lets an operator drop a real certificate there and keep it across restarts and pulls. - It does not issue anything trusted. A self-signed certificate is valid for a local instance;
a real one comes from your CA. Seenyx/certs/README.mdfor the two paths.
Upgrading from v1.0.1
Nothing to migrate: if nyx/certs/ already holds your pair, keep it. If it holds the old demo
nyx.crt without a key, delete both and let certgen run — otherwise nginx keeps failing on
the same mismatch.
Also in this release
Documentation no longer asks for a manual openssl step (README quick start, Getting started,
configuration table, docs/operations.md, running_locally.md, SECURITY.md), and the stale
Log.io references left by v1.0.1 are removed from README, running_locally.md,
docs/architecture.md, docs/operations.md and folder_contents.md.
Still open
openresty/openresty:alpineremains the only image without a pinned version.ssl_protocols TLSv1 TLSv1.1 TLSv1.2;in bothserverblocks still allows TLS 1.0 and 1.1.