nginx-proxy-manager/backend/schema/paths
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
..
audit-log Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
logs feat: Add a Logs viewer to the admin UI 2026-09-22 13:11:38 -03:00
nginx feat: test a host's config without saving (POST /api/nginx/<type>/test) 2026-11-14 09:03:56 +01:00
reports/hosts Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
schema Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
settings Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00
tokens Fix #5274 2fa backup codes not validating properly 2026-02-05 10:51:15 +10:00
upstreams feat: create proxy hosts from Docker labels 2026-11-14 09:03:56 +01:00
users feat: rate limit auth endpoints and scope user proxy host permissions 2026-11-05 12:16:36 +05:00
version/check Tweaks to showing new version available 2025-11-13 11:20:31 +10:00
get.json Swagger/openapi schema mega fixes and Cypress validation/enforcement 2025-10-30 11:50:51 +10:00