This commit is contained in:
Mateusz Gruszczyński committed 2026-11-25 15:47:34 +01:00
1 parent 6df256cdbb
commit 0d6249e383
159 files changed
+16737 -1971

No files matched your search

+8
View File
@@ -109,6 +109,14 @@ Appearance settings, Dashboard Presets and Overview cards belong to the administ
## Sample files and safe changes
Since 0.42.0, the optional `policy` member configures [HTTP policy rules](POLICY.md)
globally; Vhosts, Docker assignments and locations can carry their own policy.
Each object contains `acls`, `maps` and `rules`. Omitting it is a no-op. Policies
are compiled with the configuration and apply live after successful validation;
an invalid rule rejects the update. Existing `headers` and `cache.rules` remain
valid and preserve their previous ordering. The global section endpoint is
`GET/PUT /api/config/policy`.
Example JSON is in `examples/`. Treat it as a starting point: addresses, certificates, paths, backend health endpoints and service IDs must match your installation. The API uses full validated settings and rejects unknown fields; it is **not** a generic patch store. Use the current authenticated `/docs → API` OpenAPI reference to inspect field schemas.
For planned changes, export configuration, create an encrypted backup, make one logical change, save, verify real traffic and confirm metrics/logs. Revert via configuration history only when rollback of the config (not filesystem/secrets) is sufficient.