nginx-proxy-manager/docs
Tom Winnerl ba4ce910a2 feat: create proxy hosts from Docker labels
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>
2026-11-14 09:03:56 +01:00
..
.vitepress docs: upstream discovery page 2026-11-14 09:03:56 +01:00
scripts Docs update, use package version instead of latest, refer to better mariadb image 2026-02-19 08:36:41 +10:00
src feat: create proxy hosts from Docker labels 2026-11-14 09:03:56 +01:00
.gitignore Migrate from vuepress to vitepress for docs site 2024-05-10 23:00:27 +10:00
package.json Docs update, use package version instead of latest, refer to better mariadb image 2026-02-19 08:36:41 +10:00
yarn.lock Update dependencies 2026-11-09 11:55:20 +10:00