Browse Source

collabora: fix server name (#2327)

Stavros Kois 1 năm trước cách đây
mục cha
commit
17abed04cb

+ 1 - 1
library/ix-dev/charts/collabora/Chart.yaml

@@ -4,7 +4,7 @@ description: Collabora is a collaborative online office suite based on LibreOffi
 annotations:
   title: Collabora
 type: application
-version: 2.0.8
+version: 2.0.9
 apiVersion: v2
 appVersion: 23.05.9.4.1
 kubeVersion: '>=1.16.0-0'

+ 1 - 1
library/ix-dev/charts/collabora/templates/_configuration.tpl

@@ -35,7 +35,7 @@ configmap:
             gzip  on;
             client_body_temp_path /var/tmp/firmware;
             server {
-                server_name  {{ $nginx }};
+                server_name  {{ $nginx | trimAll "https://" }};
                 listen                 0.0.0.0:{{ .Values.collaboraNetwork.webPort }} default_server ssl http2;
                 ssl_certificate        "/etc/certs/server.crt";
                 ssl_certificate_key    "/etc/certs/server.key";

+ 7 - 0
library/ix-dev/charts/collabora/templates/_persistance.tpl

@@ -10,6 +10,13 @@ persistence:
       nginx:
         nginx:
           mountPath: /tmp
+  varcache:
+    enabled: true
+    type: emptyDir
+    targetSelector:
+      nginx:
+        nginx:
+          mountPath: /var/cache/nginx
   {{- if .Values.collaboraNetwork.certificateID }}
   nginx-conf:
     enabled: true