| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The first live run of setup-origin.sh reported: warning: the server answered 'chovy.hacker' with: subject=CN=dev.profullstack.com warning: another server block is matching first — check for a default_server The configuration was already correct. `nginx -s reload` returns when the signal is sent, not when the new workers are serving — old workers keep handling connections until they drain — so the check was answered by the config from before the reload. Which is the worst possible false positive here: it is indistinguishable from the real default-vhost fallthrough this check exists to catch, and it tells an operator their working site is broken. Retries five times at one-second intervals and only warns if the name still does not match. Verified on the box it was found on: the re-run reports `subject=CN=chovy.hacker` cleanly, reuses the existing key, and prints the same pin. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Found by running #6 on a real droplet for the first time.
The symptom
The configuration was already correct. nginx -T showed the block loaded, the certificate files were in place, and connecting a moment later returned subject=CN=chovy.hacker.
The cause
nginx -s reload returns as soon as the signal is sent, not when the new workers are serving. Old workers keep handling connections until they drain, so the verification was answered by the configuration from before the reload.
This is the worst possible false positive for this particular check: it is indistinguishable from the real default-vhost fallthrough the check exists to catch, so it tells an operator their working site is broken.
The fix
Retry five times at one-second intervals; warn only if the name still does not match.
Verified on the box it was found on
Key reuse confirmed across runs — same pin, so republishing is never needed after a re-run.
chovy.hacker is now live and correct from the public internet:
Post-quantum hybrid key exchange, end to end, on a self-signed key the registry will vouch for. The existing dev.profullstack.com vhost on the same box is unaffected (200, chain still valid).
🤖 Generated with Claude Code