mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-19 14:40:27 +00:00
Containers found through the Docker API now carry a proxy host suggestion built from their npm.* labels (npm.domain, npm.port, npm.scheme, npm.websocket, npm.block_exploits, npm.caching, npm.http2). Domains are validated like the proxy host domain field (a leading "*." wildcard is allowed); dropped entries come back as suggestion.ignored_domains. existing_host_id / existing_host_type point at a proxy, redirection or 404 host the user can see that already serves one of the domains, computed per request so the shared discovery cache is never changed. A "From Docker" button on the proxy hosts page (shown when the user can manage proxy hosts and Docker discovery works) lists the containers with an npm.domain label, fetched fresh each time the list opens. Create opens the proxy host form prefilled from the labels, Open edits the host that already serves the domain. Containers without npm.domain are listed collapsed and prefill only the target; the empty state shows a compose example with the labels. npm.http2 only takes effect once the host has a certificate: the form turns HTTP/2 on when one is picked. Schema, docs (label reference), backend, frontend and Cypress tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| audit-log | ||
| logs | ||
| nginx | ||
| reports/hosts | ||
| schema | ||
| settings | ||
| tokens | ||
| upstreams | ||
| users | ||
| version/check | ||
| get.json | ||