nginx-proxy-manager/docker
William Mahoney 7241869a9e Fix silent config corruption in 50-ipv6.sh on NFS volumes
Replace unsafe `echo "$(sed ...)" > $FILE` with atomic temp-file write.

The current pattern reads a file with sed inside a command substitution,
then writes the result back via echo redirection. If sed reads an empty
or momentarily unreadable file (e.g., NFS transient issue during
container recreation by Watchtower or similar tools), it produces no
output. The echo then writes exactly 1 byte (a newline) to the config
file, silently destroying its contents.

The fix writes sed output to a temp file first, checks it's non-empty
with `[ -s ]`, then atomically replaces the original via `mv`. If sed
produces empty output, the original file is preserved and a warning is
logged to stderr.
2026-02-20 21:24:40 -07:00
..
ci/postgres Postgres Support 2024-12-24 16:48:48 +10:00
dev Remove pebble certs, they removed the dockerhub image that had armv7 support. 2025-11-07 11:18:53 +10:00
rootfs Fix silent config corruption in 50-ipv6.sh on NFS volumes 2026-02-20 21:24:40 -07:00
scripts Drop support for armv7 builds, bump version, update docs 2026-02-17 12:55:56 +10:00
.dive-ci Updated docker base image location 2021-08-17 11:28:30 +10:00
ci.env Tweaks to CI stack for postgres 2025-11-10 10:30:16 +10:00
docker-compose.ci.mysql.yml Adds test for dashboard endpoints 2025-03-24 14:34:45 +10:00
docker-compose.ci.postgres.yml Tweaks to CI stack for postgres 2025-11-10 10:30:16 +10:00
docker-compose.ci.sqlite.yml Major update to cypress 2024-05-21 12:53:07 +10:00
docker-compose.ci.yml Updated config files for cypress 2026-01-27 10:46:30 +10:00
docker-compose.dev.yml Updated config files for cypress 2026-01-27 10:46:30 +10:00
Dockerfile Remove pebble certs, they removed the dockerhub image that had armv7 support. 2025-11-07 11:18:53 +10:00