mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-19 14:40:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| access-list-object.json | ||
| audit-log-list.json | ||
| audit-log-object.json | ||
| certificate-list.json | ||
| certificate-object.json | ||
| check-version-object.json | ||
| dead-host-list.json | ||
| dead-host-object.json | ||
| dns-providers-list.json | ||
| error-object.json | ||
| error.json | ||
| health-object.json | ||
| host-test-result.json | ||
| log-sources-object.json | ||
| log-tail-object.json | ||
| permission-object.json | ||
| proxy-host-list.json | ||
| proxy-host-object.json | ||
| redirection-host-list.json | ||
| redirection-host-object.json | ||
| security-schemes.json | ||
| setting-list.json | ||
| setting-object.json | ||
| stream-list.json | ||
| stream-object.json | ||
| token-challenge.json | ||
| token-object.json | ||
| upstream-candidates-object.json | ||
| upstream-check-result.json | ||
| upstream-health-host.json | ||
| upstream-health-object.json | ||
| upstream-provider-status.json | ||
| user-list.json | ||
| user-object.json | ||