diff --git a/deployment/docker/docker-compose.yml b/deployment/docker/docker-compose.yml index 768d68889d..c20718282b 100755 --- a/deployment/docker/docker-compose.yml +++ b/deployment/docker/docker-compose.yml @@ -240,7 +240,7 @@ services: max-size: 10m nginx: - image: docker.io/nginx:1.21-alpine + image: docker.io/nginx:1.26-alpine deploy: resources: limits: diff --git a/deployment/docker/nginx.conf b/deployment/docker/nginx.conf index f5429c6066..107ce7242c 100755 --- a/deployment/docker/nginx.conf +++ b/deployment/docker/nginx.conf @@ -8,6 +8,7 @@ http { include /etc/nginx/mime.types; charset utf-8; default_type application/json; + server_tokens off; # timeouts are configured slightly higher than gateway read-timeout of 60 seconds proxy_connect_timeout 70; # seconds, default: 60 diff --git a/deployment/docker/sandbox/docker-compose.yml b/deployment/docker/sandbox/docker-compose.yml index 545cf656a2..76b7ae45f4 100644 --- a/deployment/docker/sandbox/docker-compose.yml +++ b/deployment/docker/sandbox/docker-compose.yml @@ -226,7 +226,7 @@ services: # - ./nodered/flows-ditto.json:/data/flows-ditto.json:rw nginx: - image: docker.io/nginx:1.21-alpine + image: docker.io/nginx:1.26-alpine deploy: resources: limits: diff --git a/deployment/docker/sandbox/nginx.conf b/deployment/docker/sandbox/nginx.conf index 2cc9ce73cf..0ac27a5462 100644 --- a/deployment/docker/sandbox/nginx.conf +++ b/deployment/docker/sandbox/nginx.conf @@ -8,6 +8,7 @@ http { charset utf-8; default_type application/json; include mime.types; + server_tokens off; # timeouts are configured slightly higher than gateway read-timeout of 60 seconds proxy_connect_timeout 70; # seconds, default: 60 diff --git a/deployment/helm/ditto/templates/nginx-configmap.yaml b/deployment/helm/ditto/templates/nginx-configmap.yaml index b9667b661e..a8500cd2bb 100644 --- a/deployment/helm/ditto/templates/nginx-configmap.yaml +++ b/deployment/helm/ditto/templates/nginx-configmap.yaml @@ -29,6 +29,7 @@ data: charset utf-8; default_type application/json; include mime.types; + server_tokens off; # timeouts are configured slightly higher than ditto-eclipse-ditto-gateway read-timeout of 60 seconds proxy_connect_timeout 70; # seconds, default: 60 diff --git a/deployment/kubernetes/deploymentFiles/nginx/nginx.yaml b/deployment/kubernetes/deploymentFiles/nginx/nginx.yaml index 4128286937..cab996e6ea 100644 --- a/deployment/kubernetes/deploymentFiles/nginx/nginx.yaml +++ b/deployment/kubernetes/deploymentFiles/nginx/nginx.yaml @@ -44,7 +44,7 @@ spec: done containers: - name: nginx - image: docker.io/nginx:1.21-alpine + image: docker.io/nginx:1.26-alpine volumeMounts: - name: nginx-conf mountPath: /etc/nginx/nginx.conf