diff --git a/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 b/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 index 485889dca1a..26589ed2482 100644 --- a/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 @@ -14,7 +14,10 @@ metadata: nginx.ingress.kubernetes.io/http2-max-header-size: 96k nginx.ingress.kubernetes.io/large-client-header-buffers: 4 100k nginx.ingress.kubernetes.io/proxy-buffer-size: 96k - nginx.ingress.kubernetes.io/server-snippet: gzip on; + nginx.ingress.kubernetes.io/server-snippet: | + gzip on; + gzip_types text/plain application/json; + {% if CLUSTER_ISSUER is defined %} cert-manager.io/cluster-issuer: {{ CLUSTER_ISSUER }} {% endif %}