add middlewares (source nginx template on source helm values), and default_phone_region
All checks were successful
/ continuous-deploy (push) Successful in 24s
All checks were successful
/ continuous-deploy (push) Successful in 24s
This commit is contained in:
@@ -84,10 +84,6 @@ resources:
|
|||||||
cronjob:
|
cronjob:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# openssl.cafile = /etc/ssl/certs/ca-certificates.crt
|
|
||||||
#openssl.capath = /etc/ssl/certs
|
|
||||||
|
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
|
|
||||||
extraInitContainers:
|
extraInitContainers:
|
||||||
@@ -191,17 +187,16 @@ nextcloud:
|
|||||||
mountPath: /mnt/shared/NerdStuff
|
mountPath: /mnt/shared/NerdStuff
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
# appstore.override.config.php: |-
|
|
||||||
# <?php
|
|
||||||
# $CONFIG = array (
|
|
||||||
# 'appstoreenabled' => true,
|
|
||||||
# 'appstoreurl' => 'https://apps.nextcloud.com/api/v1',
|
|
||||||
# );
|
|
||||||
global.config.php: |-
|
global.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
'allow_local_remote_servers' => true
|
'allow_local_remote_servers' => true,
|
||||||
);
|
);
|
||||||
|
phone.config.php: |-
|
||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
'default_phone_region' => 'PT',
|
||||||
|
);
|
||||||
|
|
||||||
https.config.php: |-
|
https.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
@@ -228,7 +223,7 @@ nextcloud:
|
|||||||
onlyoffice.config.php: |-
|
onlyoffice.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
'onlyoffice' =>
|
'onlyoffice' =>
|
||||||
array (
|
array (
|
||||||
'verify_peer_off' => true,
|
'verify_peer_off' => true,
|
||||||
'allow_local_remote_servers' => true,
|
'allow_local_remote_servers' => true,
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ spec:
|
|||||||
- name: nextcloud-security-headers
|
- name: nextcloud-security-headers
|
||||||
- name: rate-limit
|
- name: rate-limit
|
||||||
|
|
||||||
|
|
||||||
# PUBLIC SHARES (NO SSO)
|
# PUBLIC SHARES (NO SSO)
|
||||||
- match: Host(`cloud.limbosolutions.com`) &&
|
- match: Host(`cloud.limbosolutions.com`) &&
|
||||||
(PathPrefix(`/s/`) ||
|
(PathPrefix(`/s/`) ||
|
||||||
@@ -39,6 +38,7 @@ spec:
|
|||||||
middlewares:
|
middlewares:
|
||||||
- name: rate-limit
|
- name: rate-limit
|
||||||
- name: nextcloud-security-headers
|
- name: nextcloud-security-headers
|
||||||
|
- name: nextcloud-deny-paths
|
||||||
|
|
||||||
# Sync clients + mobile app (no SSO)
|
# Sync clients + mobile app (no SSO)
|
||||||
- match: Host(`cloud.limbosolutions.com`) &&
|
- match: Host(`cloud.limbosolutions.com`) &&
|
||||||
@@ -58,6 +58,8 @@ spec:
|
|||||||
middlewares:
|
middlewares:
|
||||||
- name: webdav-strip-auth
|
- name: webdav-strip-auth
|
||||||
- name: rate-limit
|
- name: rate-limit
|
||||||
|
- name: nextcloud-deny-paths
|
||||||
|
- name: nextcloud-dav
|
||||||
|
|
||||||
# 3) EVERYTHING ELSE (SSO REQUIRED)
|
# 3) EVERYTHING ELSE (SSO REQUIRED)
|
||||||
- match: Host(`cloud.limbosolutions.com`)
|
- match: Host(`cloud.limbosolutions.com`)
|
||||||
@@ -69,7 +71,9 @@ spec:
|
|||||||
# - name: authentik-forward-auth
|
# - name: authentik-forward-auth
|
||||||
- name: nextcloud-security-headers
|
- name: nextcloud-security-headers
|
||||||
- name: rate-limit
|
- name: rate-limit
|
||||||
|
- name: nextcloud-deny-paths
|
||||||
|
- name: nextcloud-wellknown
|
||||||
|
- name: nextcloud-hostmeta
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ spec:
|
|||||||
middlewares:
|
middlewares:
|
||||||
- name: nextcloud-security-headers
|
- name: nextcloud-security-headers
|
||||||
- name: rate-limit
|
- name: rate-limit
|
||||||
|
- name: nextcloud-deny-paths
|
||||||
|
- name: nextcloud-wellknown
|
||||||
|
- name: nextcloud-hostmeta
|
||||||
|
- name: nextcloud-dav
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ spec:
|
|||||||
stsIncludeSubdomains: true
|
stsIncludeSubdomains: true
|
||||||
stsPreload: true
|
stsPreload: true
|
||||||
customResponseHeaders:
|
customResponseHeaders:
|
||||||
|
X-Powered-By: ""
|
||||||
X-Content-Type-Options: "nosniff"
|
X-Content-Type-Options: "nosniff"
|
||||||
X-Frame-Options: "SAMEORIGIN"
|
X-Frame-Options: "SAMEORIGIN"
|
||||||
X-XSS-Protection: "1; mode=block"
|
X-XSS-Protection: "1; mode=block"
|
||||||
@@ -64,3 +65,58 @@ spec:
|
|||||||
- X-authentik-meta-app
|
- X-authentik-meta-app
|
||||||
- X-authentik-meta-version
|
- X-authentik-meta-version
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
piVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-deny-paths
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: "^/(build|tests|config|lib|3rdparty|templates|data|autotest|occ|issue|indie|db_|console)"
|
||||||
|
replacement: "/"
|
||||||
|
permanent: false
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-dav
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: "^/.well-known/(carddav|caldav)$"
|
||||||
|
replacement: "/remote.php/dav"
|
||||||
|
permanent: true
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-wellknown
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: "^/.well-known/(webfinger|nodeinfo)$"
|
||||||
|
replacement: "/index.php/.well-known/${1}"
|
||||||
|
permanent: true
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-hostmeta
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: "^/.well-known/host-meta$"
|
||||||
|
replacement: "/public.php?service=host-meta"
|
||||||
|
permanent: true
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-hostmeta-json
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: "^/.well-known/host-meta.json$"
|
||||||
|
replacement: "/public.php?service=host-meta-json"
|
||||||
|
permanent: true
|
||||||
Reference in New Issue
Block a user