slight tweaking for using https behind traefik on Nextcloud
This commit is contained in:
parent
8138af9b19
commit
4889d80c34
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 -}}
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
|
@ -26,4 +26,4 @@ sources:
|
|||
- https://traefik.io/
|
||||
type: application
|
||||
upstream_version: v9.19.2
|
||||
version: 6.3.17
|
||||
version: 6.3.18
|
||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
|||
- HEAD
|
||||
- PUT
|
||||
accessControlMaxAge: 100
|
||||
# sslRedirect: true
|
||||
sslRedirect: true
|
||||
# stsSeconds: 63072000
|
||||
# stsIncludeSubdomains: false
|
||||
# stsPreload: false
|
||||
|
|
Loading…
Reference in New Issue