You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/deployment/private-cloud/private-cloud-cluster/networking/private-cloud-advanced-ingress-settings.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,17 +69,19 @@ In this way, you can configure the following settings:
69
69
* Specify the name of an existing TLS certificate secret.
70
70
* Provide TLS Certificate and Private Key values directly in the environment specification.
71
71
72
-
## Configuring HTTP headers
72
+
## Configuring HTTP Headers
73
73
74
-
### Configuring headers in NGINX Ingress
74
+
You can configure HTTP headers for NGINX Ingress and for Mendix Runtime. For more information, refer to the following sections.
75
75
76
-
For NGINX Ingress, you can set headers in a namespace which will further be propagated across all apps in that namespace by using a configuration snippet in the OperatorConfiguration object. Alternatively, you can configure headers for individual app environments by adding the `nginx.ingress.kubernetes.io/configuration-snippet` annotation in the Mendix on Kubernetes Portal.
76
+
### Configuring Headers in NGINX Ingress
77
+
78
+
For NGINX Ingress, you can use a configuration snippet in the `OperatorConfiguration` object to set headers in a namespace. The headers that you set are then further propagated across all apps in that namespace. Alternatively, you can configure headers for individual app environments by adding the `nginx.ingress.kubernetes.io/configuration-snippet` annotation in the Mendix on Kubernetes Portal.
Mendix only supports unencrypted HTTP between the Ingress controller and the app. However, there is no higher level of security with service-to-service encryption and policy controls. In such situation, integrating Ingress controllers with Istio Service Mesh or Linkerd can help you manage both external traffic entering your Kubernetes cluster (by using an Ingress Controller) and internal traffic between services (by using Istio or Linkerd).
82
+
Mendix only supports unencrypted HTTP between the Ingress controller and the app. However, there is no higher level of security with service-to-service encryption and policy controls. In such situations, integrating Ingress controllers with Istio Service Mesh or Linkerd can help you manage both external traffic entering your Kubernetes cluster (by using an Ingress Controller) and internal traffic between services (by using Istio or Linkerd).
81
83
82
-
Istio Service Mesh and Linkerd help manage service-to-service communication within a Kubernetes cluster. It provides features such as the following:
84
+
Istio Service Mesh and Linkerd help manage service-to-service communication within a Kubernetes cluster. It provides the following features:
83
85
84
86
* Traffic management (for example, canary releases)
85
87
* Service discovery
@@ -93,19 +95,19 @@ In an Istio- or Linkerd-enabled Kubernetes cluster, an Ingress controller can be
93
95
AWS Application Load Balancer and Azure Application Gateway Ingress Controller only work with Istio.
94
96
{{% /alert %}}
95
97
96
-
### Configuring headers in the Mendix Runtime
98
+
### Configuring Headers in the Mendix Runtime
97
99
98
-
Starting from Mendix 10.24.1, the Mendix Runtime can set headers natively, without relying on an external ingress controller.
100
+
Starting from Mendix 10.24.1, the Mendix Runtime can set headers natively, without relying on an external Ingress controller.
99
101
100
-
This allows specifying security headers such as `Content-Security-Policy` with any ingress controller, not just NGINX Ingress.
102
+
This allows specifying security headers such as `Content-Security-Policy` with any Ingress controller, not just NGINX Ingress.
101
103
102
104
To set headers, use the [Headers](/refguide/custom-settings/#Headers) Custom Runtime Setting on the [Runtime Tab](/developerportal/deploy/private-cloud-deploy/#runtime-tab) (for Connected environments) or in the [.spec.runtime.customConfiguration field](/developerportal/deploy/private-cloud-operator/#edit-cr) in the MendixApp CR.
103
105
104
106
The `Headers` Custom Runtime Setting accepts a JSON map where the keys are header names and values are header values.
105
107
106
108
The `Content-Security-Policy` header supports [additional custom handling](/refguide/configuration/#headers) to process `nonce` values.
107
109
108
-
For example, here's an example value of the `Headers` Custom Runtime Setting that can be used how to specify a few typical security headers:
110
+
The following is an example value of the `Headers` Custom Runtime Setting that can be used how to specify a few typical security headers:
0 commit comments