diff options
| author | Void Agent <void@jayrup.hermes> | 2026-10-22 23:12:30 +0100 |
|---|---|---|
| committer | Void Agent <void@jayrup.hermes> | 2026-10-22 23:12:30 +0100 |
| commit | 1e58fcb98fd17dbec3a2b477d3737b83101a18b5 (patch) | |
| tree | 000c68ffa8cb69807b2f922f21d05704becbeddc /projects | |
| parent | 70dffce202a8cc1d15473bbc2750bdf29a54b0fb (diff) | |
deploy: write nginx.conf in place so the container's bind mount sees it
nginx.conf is mounted as a single file. rsync renames a temp over the
destination, which replaces the inode, so the container kept reading the old
inode: nginx -t validated the old bytes, reload was a no-op, and the deploy
reported success while the live config was unchanged. Stage to
nginx.conf.new, copy in place with cat so the mounted inode keeps its
identity, then test and reload. Rollback copies in place too, for the same
reason.
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions
