mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-22 09:46:37 +08:00
docs(settings): clarify Sub Port/Sub Domain double as subscription-link fallback (#5721)
* docs(settings): clarify Sub Port/Sub Domain double as subscription-link fallback subPort/subDomain are documented purely as the subscription service's own listen address, but when "Reverse Proxy URI" is empty, GetDefaultSettings silently reuses them (with the admin API request's own Host header as the domain fallback) to build the subscription link/QR shown in the panel. Behind a reverse proxy where the sub service listens on an internal port and is exposed externally on a different port/domain, this produces a broken link even though "Reverse Proxy URI" already solves it - nothing in the UI text pointed to it. Clarify all locales. * docs(settings): fix wording nits from review (punctuation, CJK parens, es-ES field name) - en-US/id-ID/pt-BR/tr-TR/uk-UA/ar-EG: add terminating punctuation before the appended sentence so it doesn't run on directly after the closing parenthesis. - zh-CN/zh-TW/ja-JP: restore full-width CJK parentheses around the pre-existing parenthetical, matching the rest of each file. - es-ES: subURIDesc referenced "Dominio/Puerto de escucha", but the actual field labels in this locale are "Dominio de Escucha" and "Puerto de Suscripción". --------- Co-authored-by: Volov <volovdata@google.com>
This commit is contained in:
@@ -1324,7 +1324,7 @@
|
||||
"subListen": "Listen IP",
|
||||
"subListenDesc": "The IP address for the subscription service. (leave blank to listen on all IPs)",
|
||||
"subPort": "Listen Port",
|
||||
"subPortDesc": "The port number for the subscription service. (must be an unused port)",
|
||||
"subPortDesc": "The port number for the subscription service. (must be an unused port). Also used to build the subscription link/QR shown in the panel when \"Reverse Proxy URI\" below is empty — if the subscription is reached through a reverse proxy on a different port, set \"Reverse Proxy URI\" instead.",
|
||||
"subCertPath": "Public Key Path",
|
||||
"subCertPathDesc": "The public key file path for the subscription service. (begins with ‘/‘)",
|
||||
"subKeyPath": "Private Key Path",
|
||||
@@ -1332,13 +1332,13 @@
|
||||
"subPath": "URI Path",
|
||||
"subPathDesc": "The URI path for the subscription service. (begins with ‘/‘ and concludes with ‘/‘)",
|
||||
"subDomain": "Listen Domain",
|
||||
"subDomainDesc": "The domain name for the subscription service. (leave blank to listen on all domains and IPs)",
|
||||
"subDomainDesc": "The domain name for the subscription service. (leave blank to listen on all domains and IPs). Also used as the fallback domain for the displayed subscription link when \"Reverse Proxy URI\" is empty — set \"Reverse Proxy URI\" if the panel and the subscription are reached through different domains (e.g. behind a reverse proxy).",
|
||||
"subUpdates": "Update Intervals",
|
||||
"subUpdatesDesc": "The update intervals of the subscription URL in the client apps. (unit: hour)",
|
||||
"subEncrypt": "Encode",
|
||||
"subEncryptDesc": "The returned content of subscription service will be Base64 encoded.",
|
||||
"subURI": "Reverse Proxy URI",
|
||||
"subURIDesc": "The URI path of the subscription URL for use behind proxies.",
|
||||
"subURIDesc": "The full base URL (scheme://domain[:port]/path/) for the subscription link and QR code, used instead of Listen Domain/Listen Port. Set this whenever the subscription is reached through a reverse proxy or a domain/port different from the ones above.",
|
||||
"externalTrafficInformEnable": "External Traffic Inform",
|
||||
"externalTrafficInformEnableDesc": "Inform external API on every traffic update.",
|
||||
"externalTrafficInformURI": "External Traffic Inform URI",
|
||||
|
||||
Reference in New Issue
Block a user