diff --git a/messages/en-US.json b/messages/en-US.json index c640e6c1..9ecea382 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -482,8 +482,8 @@ "targetAddr": "IP / Hostname", "targetPort": "Port", "targetProtocol": "Protocol", - "targetTlsSettings": "HTTPS & TLS Settings", - "targetTlsSettingsDescription": "Configure TLS settings for your resource", + "targetTlsSettings": "Secure Connection Configuration", + "targetTlsSettingsDescription": "Configure SSL/TLS settings for your resource", "targetTlsSettingsAdvanced": "Advanced TLS Settings", "targetTlsSni": "TLS Server Name (SNI)", "targetTlsSniDescription": "The TLS Server Name to use for SNI. Leave empty to use the default.", diff --git a/src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx b/src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx index 6f318357..8232d9f4 100644 --- a/src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx +++ b/src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx @@ -560,111 +560,6 @@ export default function ReverseProxyTargets(props: { return ( - {resource.http && ( - - - - {t('targetTlsSettings')} - - - {t('targetTlsSettingsDescription')} - - - - -
- - ( - - - { - field.onChange(val); - }} - /> - - - )} - /> - -
- - - -
- - ( - - - {t('targetTlsSni')} - - - - - - {t('targetTlsSniDescription')} - - - - )} - /> - -
- - -
-
- - - -
- )} - @@ -891,10 +786,10 @@ export default function ReverseProxyTargets(props: { - Secure Connection Configuration + {t('targetTlsSettings')} - Configure SSL/TLS settings for your resource + {t('targetTlsSettingsDescription')} @@ -915,7 +810,7 @@ export default function ReverseProxyTargets(props: {

- Advanced TLS - Settings + {t('targetTlsSettingsAdvanced')}

@@ -965,8 +859,7 @@ export default function ReverseProxyTargets(props: { render={({ field }) => ( - TLS Server Name - (SNI) + {t('targetTlsSni')} - The TLS Server - Name to use for - SNI. Leave empty - to use the - default. + {t('targetTlsSniDescription')} @@ -996,18 +885,17 @@ export default function ReverseProxyTargets(props: { loading={httpsTlsLoading} form="tls-settings-form" > - Save Settings + {t('targetTlsSubmit')} - Additional Proxy Settings + {t('proxyAdditional')} - Configure how your resource handles proxy - settings + {t('proxyAdditionalDescription')} @@ -1026,16 +914,13 @@ export default function ReverseProxyTargets(props: { render={({ field }) => ( - Custom Host Header + {t('proxyCustomHeader')} - The host header to set - when proxying requests. - Leave empty to use the - default. + {t('proxyCustomHeaderDescription')} @@ -1051,7 +936,7 @@ export default function ReverseProxyTargets(props: { loading={proxySettingsLoading} form="proxy-settings-form" > - Save Settings + {t('targetTlsSubmit')}