Merge branch 'next'
This commit is contained in:
commit
0144e1ad72
|
@ -84,7 +84,6 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]):
|
||||||
"traefik.ingress.kubernetes.io/affinity": "true",
|
"traefik.ingress.kubernetes.io/affinity": "true",
|
||||||
"nginx.ingress.kubernetes.io/proxy-buffers-number": "4",
|
"nginx.ingress.kubernetes.io/proxy-buffers-number": "4",
|
||||||
"nginx.ingress.kubernetes.io/proxy-buffer-size": "16k",
|
"nginx.ingress.kubernetes.io/proxy-buffer-size": "16k",
|
||||||
"nginx.ingress.kubernetes.io/backend-protocol": "HTTPS",
|
|
||||||
}
|
}
|
||||||
annotations.update(
|
annotations.update(
|
||||||
self.controller.outpost.config.kubernetes_ingress_annotations
|
self.controller.outpost.config.kubernetes_ingress_annotations
|
||||||
|
@ -114,7 +113,7 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]):
|
||||||
NetworkingV1beta1HTTPIngressPath(
|
NetworkingV1beta1HTTPIngressPath(
|
||||||
backend=NetworkingV1beta1IngressBackend(
|
backend=NetworkingV1beta1IngressBackend(
|
||||||
service_name=self.name,
|
service_name=self.name,
|
||||||
service_port="https",
|
service_port="http",
|
||||||
),
|
),
|
||||||
path="/akprox",
|
path="/akprox",
|
||||||
)
|
)
|
||||||
|
@ -129,7 +128,7 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]):
|
||||||
NetworkingV1beta1HTTPIngressPath(
|
NetworkingV1beta1HTTPIngressPath(
|
||||||
backend=NetworkingV1beta1IngressBackend(
|
backend=NetworkingV1beta1IngressBackend(
|
||||||
service_name=self.name,
|
service_name=self.name,
|
||||||
service_port="https",
|
service_port="http",
|
||||||
),
|
),
|
||||||
path="/",
|
path="/",
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,8 +18,6 @@ func (ws *WebServer) configureProxy() {
|
||||||
}
|
}
|
||||||
if req.TLS != nil {
|
if req.TLS != nil {
|
||||||
req.Header.Set("X-Forwarded-Proto", "https")
|
req.Header.Set("X-Forwarded-Proto", "https")
|
||||||
} else {
|
|
||||||
req.Header.Set("X-Forwarded-Proto", "http")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rp := &httputil.ReverseProxy{Director: director}
|
rp := &httputil.ReverseProxy{Director: director}
|
||||||
|
|
|
@ -3476,8 +3476,8 @@ msgid "The URL \"{0}\" was not found."
|
||||||
msgstr "The URL \"{0}\" was not found."
|
msgstr "The URL \"{0}\" was not found."
|
||||||
|
|
||||||
#: src/pages/providers/proxy/ProxyProviderForm.ts
|
#: src/pages/providers/proxy/ProxyProviderForm.ts
|
||||||
msgid "The external URL you'll access the application at"
|
msgid "The external URL you'll access the application at. Include any non-standard port."
|
||||||
msgstr "The external URL you'll access the application at"
|
msgstr "The external URL you'll access the application at. Include any non-standard port."
|
||||||
|
|
||||||
#: src/pages/policies/dummy/DummyPolicyForm.ts
|
#: src/pages/policies/dummy/DummyPolicyForm.ts
|
||||||
msgid "The policy takes a random time to execute. This controls the minimum time it will take."
|
msgid "The policy takes a random time to execute. This controls the minimum time it will take."
|
||||||
|
|
|
@ -3468,7 +3468,7 @@ msgid "The URL \"{0}\" was not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#:
|
#:
|
||||||
msgid "The external URL you'll access the application at"
|
msgid "The external URL you'll access the application at. Include any non-standard port."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#:
|
#:
|
||||||
|
|
|
@ -125,7 +125,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> {
|
||||||
?required=${true}
|
?required=${true}
|
||||||
name="externalHost">
|
name="externalHost">
|
||||||
<input type="text" value="${ifDefined(this.instance?.externalHost)}" class="pf-c-form-control" required>
|
<input type="text" value="${ifDefined(this.instance?.externalHost)}" class="pf-c-form-control" required>
|
||||||
<p class="pf-c-form__helper-text">${t`The external URL you'll access the application at`}</p>
|
<p class="pf-c-form__helper-text">${t`The external URL you'll access the application at. Include any non-standard port.`}</p>
|
||||||
</ak-form-element-horizontal>
|
</ak-form-element-horizontal>
|
||||||
<ak-form-element-horizontal name="forwardAuthMode">
|
<ak-form-element-horizontal name="forwardAuthMode">
|
||||||
<div class="pf-c-check">
|
<div class="pf-c-check">
|
||||||
|
|
Reference in New Issue