diff --git a/charts/develop/nextcloud/Chart.yaml b/charts/develop/nextcloud/Chart.yaml index ec1fca9b3fc..da52defdb25 100644 --- a/charts/develop/nextcloud/Chart.yaml +++ b/charts/develop/nextcloud/Chart.yaml @@ -35,4 +35,4 @@ sources: - https://github.com/nextcloud/docker - https://github.com/nextcloud/helm type: application -version: 1.0.12 +version: 1.0.13 diff --git a/charts/develop/nextcloud/SCALE/questions.yaml b/charts/develop/nextcloud/SCALE/questions.yaml index 36b9b479c66..e6472c95bce 100644 --- a/charts/develop/nextcloud/SCALE/questions.yaml +++ b/charts/develop/nextcloud/SCALE/questions.yaml @@ -118,6 +118,13 @@ questions: type: string required: true default: "" + - variable: TRUSTED_PROXIES + label: "TRUSTED_PROXIES" + description: "Sets nextcloud Trusted Proxies" + schema: + type: string + default: "172.16.0.0/16" + # Configure Enviroment Variables - variable: envList diff --git a/charts/develop/nextcloud/templates/_configmap.tpl b/charts/develop/nextcloud/templates/_configmap.tpl index 0b1de88d3ee..afe0b0ec766 100644 --- a/charts/develop/nextcloud/templates/_configmap.tpl +++ b/charts/develop/nextcloud/templates/_configmap.tpl @@ -18,5 +18,8 @@ metadata: name: nextcloudconfig data: NEXTCLOUD_TRUSTED_DOMAINS: {{ $hosts | quote }} + {{- if .Values.Ingress.main.enabled }} + APACHE_DISABLE_REWRITE_IP: 1 + {{- end }} {{- end -}} diff --git a/charts/develop/nextcloud/values.yaml b/charts/develop/nextcloud/values.yaml index 7e8efb3bc65..e9b26889a1f 100644 --- a/charts/develop/nextcloud/values.yaml +++ b/charts/develop/nextcloud/values.yaml @@ -17,6 +17,7 @@ service: env: NEXTCLOUD_ADMIN_USER: "admin" NEXTCLOUD_ADMIN_PASSWORD: "adminpass" + TRUSTED_PROXIES: "172.16.0.0/16" envTpl: POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}" diff --git a/charts/stable/traefik/Chart.yaml b/charts/stable/traefik/Chart.yaml index 7db3753413b..ad6ade709ff 100644 --- a/charts/stable/traefik/Chart.yaml +++ b/charts/stable/traefik/Chart.yaml @@ -26,4 +26,4 @@ sources: - https://traefik.io/ type: application upstream_version: v9.19.2 -version: 6.3.17 +version: 6.3.18 diff --git a/charts/stable/traefik/templates/custom/middlewares/basic-middleware.yaml b/charts/stable/traefik/templates/custom/middlewares/basic-middleware.yaml index d81132ed5a1..73d39aded4e 100644 --- a/charts/stable/traefik/templates/custom/middlewares/basic-middleware.yaml +++ b/charts/stable/traefik/templates/custom/middlewares/basic-middleware.yaml @@ -31,7 +31,7 @@ spec: - HEAD - PUT accessControlMaxAge: 100 - # sslRedirect: true + sslRedirect: true # stsSeconds: 63072000 # stsIncludeSubdomains: false # stsPreload: false