feat(server): custom HTTP headers for reverse-proxy gates (#1095) (#1156)

This commit is contained in:
cucadmuh
2026-06-22 16:25:28 +03:00
committed by GitHub
parent 2c9b2eeb46
commit 15cecb5d7d
83 changed files with 2452 additions and 327 deletions
+18
View File
@@ -41,6 +41,24 @@ export const settings = {
shareUsesLocalUrlDesc: 'Affects Orbit invites and library shares. Default: public address.',
serverUsername: 'Username',
serverPassword: 'Password',
customHeadersTitle: 'Custom HTTP headers',
customHeadersHelp: 'For reverse-proxy gates (Pangolin, Cloudflare Access). Sent only to your server — not to third-party services.',
customHeadersNamePlaceholder: 'Header name',
customHeadersValuePlaceholder: 'Header value',
customHeadersAddRow: 'Add header',
customHeadersRemoveRow: 'Remove header',
customHeadersApplyTo: 'Apply headers to',
customHeadersApplyTo_public: 'Public address',
customHeadersApplyTo_local: 'Local address',
customHeadersApplyTo_both: 'Both addresses',
customHeadersNotInShare: 'Custom headers are not included in share invites — configure them again on each device.',
'customHeadersValidation.tooMany': 'Too many custom headers (max 16).',
'customHeadersValidation.nameRequired': 'Header name is required.',
'customHeadersValidation.nameTooLong': 'Header name is too long.',
'customHeadersValidation.valueTooLong': 'Header value is too long.',
'customHeadersValidation.crlf': 'Header names and values cannot contain line breaks.',
'customHeadersValidation.blocked': 'This header name is not allowed.',
'customHeadersValidation.duplicate': 'Duplicate header name.',
addServer: 'Add Server',
addServerTitle: 'Add New Server',
editServer: 'Edit',