nginx-proxy-manager/backend/schema/components
Tom Winnerl ea4109965f fix(review): count a resolver-only main target as a warning, not healthy
A name that only resolves through /etc/hosts or a resolv.conf search
domain (resolver_mismatch) works for a static upstream only. nginx
resolves a proxy_pass with a variable per request through its own
resolver, which reads neither: the main target of every proxy host
(proxy_pass $server) and a custom location in dynamic mode fail at
request time. The health monitor and the config test still counted such
a target as ok, so the host showed healthy.

The probe is unchanged (POST /upstreams/check still answers ok with code
resolver_mismatch). Only the interpretation is per target:
forResolverTarget() marks a resolver_mismatch as not ok, with a message
that says requests fail, for the main target and the locations saved
(health monitor, from meta.nginx_locations) or rendered (config test,
from the dry run's location states) in dynamic mode. Static locations
and streams stay ok. The frontend shows resolver_mismatch as a yellow
warning whether ok or not, and the host status lists it as "nginx can't
resolve" instead of "not reachable".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:03:56 +01:00
..
access-list-object.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
audit-log-list.json Fix custom cert writes, fix schema 2025-10-02 08:12:33 +10:00
audit-log-object.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
certificate-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
certificate-object.json Stop non-admins injecting nginx directives through host fields 2026-11-10 08:20:02 +10:00
check-version-object.json Fix openapi schema format 2025-11-13 11:51:13 +10:00
dead-host-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
dead-host-object.json feat(hosts): fresh nginx meta, server-owned meta keys, rollback of rejected changes 2026-11-11 13:47:42 +01:00
dns-providers-list.json Moved certrbot plugin list to backend 2025-10-26 00:28:03 +10:00
error-object.json i18n(locations): translatable location check messages 2026-11-14 09:03:56 +01:00
error.json Fix CVE-2024-46256 and CVE-2024-46257 2024-10-11 11:31:57 +10:00
health-object.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
host-test-result.json fix(review): count a resolver-only main target as a warning, not healthy 2026-11-14 09:03:56 +01:00
log-sources-object.json feat: Add a Logs viewer to the admin UI 2026-09-22 13:11:38 -03:00
log-tail-object.json feat: Add a Logs viewer to the admin UI 2026-09-22 13:11:38 -03:00
permission-object.json feat: rate limit auth endpoints and scope user proxy host permissions 2026-11-05 12:16:36 +05:00
proxy-host-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
proxy-host-object.json i18n(locations): translatable location check messages 2026-11-14 09:03:56 +01:00
redirection-host-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
redirection-host-object.json feat(hosts): fresh nginx meta, server-owned meta keys, rollback of rejected changes 2026-11-11 13:47:42 +01:00
security-schemes.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
setting-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
setting-object.json Adds tests for settings endpoints 2024-10-17 08:48:47 +10:00
stream-list.json Fix incorrect swagger for streams list 2025-06-30 13:00:25 +10:00
stream-object.json feat(hosts): fresh nginx meta, server-owned meta keys, rollback of rejected changes 2026-11-11 13:47:42 +01:00
token-challenge.json 2fa work slight refactor 2026-01-14 11:45:12 +10:00
token-object.json Fix type for token.expires 2025-02-03 21:47:41 +01:00
upstream-candidates-object.json feat: create proxy hosts from Docker labels 2026-11-14 09:03:56 +01:00
upstream-check-result.json feat(upstreams): discovery, reachability check and health monitor 2026-11-14 09:03:56 +01:00
upstream-health-host.json fix(review): count a resolver-only main target as a warning, not healthy 2026-11-14 09:03:56 +01:00
upstream-health-object.json feat(upstreams): discovery, reachability check and health monitor 2026-11-14 09:03:56 +01:00
upstream-provider-status.json feat(upstreams): discovery, reachability check and health monitor 2026-11-14 09:03:56 +01:00
user-list.json Refactor API Schema and validation 2024-10-09 18:05:15 +10:00
user-object.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00