Skip to content

Commit 755e311

Browse files
katarzyna-koltun-mxzlogic
authored andcommitted
Update private-cloud-advanced-ingress-settings.md
1 parent 43ac18b commit 755e311

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

content/en/docs/deployment/private-cloud/private-cloud-cluster/networking/private-cloud-advanced-ingress-settings.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,19 @@ In this way, you can configure the following settings:
6969
* Specify the name of an existing TLS certificate secret.
7070
* Provide TLS Certificate and Private Key values directly in the environment specification.
7171

72-
## Configuring HTTP headers
72+
## Configuring HTTP Headers
7373

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.
7575

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.
7779

7880
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/private-cloud-networking/advanced-headers.png" class="no-border" >}}
7981

80-
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).
8183

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:
8385

8486
* Traffic management (for example, canary releases)
8587
* Service discovery
@@ -93,19 +95,19 @@ In an Istio- or Linkerd-enabled Kubernetes cluster, an Ingress controller can be
9395
AWS Application Load Balancer and Azure Application Gateway Ingress Controller only work with Istio.
9496
{{% /alert %}}
9597

96-
### Configuring headers in the Mendix Runtime
98+
### Configuring Headers in the Mendix Runtime
9799

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.
99101

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.
101103

102104
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.
103105

104106
The `Headers` Custom Runtime Setting accepts a JSON map where the keys are header names and values are header values.
105107

106108
The `Content-Security-Policy` header supports [additional custom handling](/refguide/configuration/#headers) to process `nonce` values.
107109

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:
109111

110112
```json
111113
{

0 commit comments

Comments
 (0)