mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-19 17:50:13 +00:00
feat(settings): add reserved hosts field and surface NAT errors
Add the reserved_hosts setting (input + i18n across all locales) so operators behind a reverse proxy can declare public dashboard hostnames members must not register as NAT domains (GHSA-x6fg-52vr-hj4w). Show the backend error message on NAT create/update failure instead of a generic "unexpected error", so a reserved-host rejection is explained. Co-authored-by: cloudcode <cloudcode@users.noreply.github.com>
This commit is contained in:
@@ -142,6 +142,8 @@
|
||||
"WAF": "Web Application Firewall",
|
||||
"SiteName": "Site Name",
|
||||
"DashboardOriginalHost": "Agent connecting address [domain name/IP:port]",
|
||||
"ReservedHosts": "Reserved hosts (comma-separated; public/reverse-proxy domains members cannot use as NAT domains)",
|
||||
"ReservedHostsHint": "Behind a reverse proxy the dashboard cannot see its own public domain, so it is not auto-protected. List every public entry hostname here, or a member could register it as a NAT domain and hijack dashboard routing.",
|
||||
"ConfigTLS": "Use TLS to connect Agent",
|
||||
"LoginFailed": "Login Failed",
|
||||
"BruteForceAttackingToken": "Brute Force Attacking Token",
|
||||
|
||||
Reference in New Issue
Block a user