gabriel / musehub public
fix patch deploy dev
AI Agent gabriel · 52 days ago · Apr 28, 2026 · Diff

fix(deploy): guard nginx active-port file against bare-port corruption

- sanitize_nginx_port_file() auto-corrects bare port numbers to the full 'server 127.0.0.1:{port};' directive at deploy startup - nginx -t validation added before every nginx -s reload in nginx_point_to and --init mode — deploy aborts rather than reloading a broken config - Prevents manual SSM interventions that wrote a bare port from silently leaving nginx misconfigured until the next full deploy

sha256:8c880c891f8071c2b0b44557c8704c265f982bbb88552611b7cfbebde1b25225 sha
sha256:d95be097890be15e035722247cf8c3dfcb9ce2492ba3b9123eae8cd30bc74116 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:8c880c891f8071c2b0b44557c8704c265f982bbb88552611b7cfbebde1b25225 --body "your comment"