Files
nginx-proxy-manager/backend/internal
vzagorovskiy a570c0e503 Keep the failed nginx config as a .conf.err file
When `nginx -t` fails, configure() is meant to move the broken config to
<id>.conf.err so the failure can be inspected. renameConfigAsError()
unlinked the source file before renaming it, so the rename always failed
and the config was simply deleted. The deleteConfig() call after it then
removed any .err file left over from an earlier failure.

- unlink the destination .err file instead of the source
- return the rename promise so the delete does not race it
- pass delete_err_file = false so the new .err file survives
- drop the stale 4th argument in the success path, which silently made
  delete_err_file false and left old .err files behind
2026-08-28 11:47:02 +03:00
..
2026-08-22 23:10:26 +10:00
2026-08-22 23:10:26 +10:00
2026-08-22 23:10:26 +10:00
2026-08-26 07:39:31 +00:00
2025-10-02 08:12:28 +10:00
2026-05-13 13:40:06 +10:00
2026-05-13 13:40:06 +10:00
2025-10-02 08:10:18 +10:00
2026-05-13 13:40:06 +10:00
2026-08-22 23:10:26 +10:00
2026-08-22 23:10:26 +10:00