Current working version of NExtcloud when using the correct caldav URL
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
phpClientHttpsFix:
|
||||
enabled: "true"
|
||||
protocol: "https"
|
||||
# phpClientHttpsFix:
|
||||
# enabled: "true"
|
||||
# protocol: "https"
|
||||
|
||||
|
||||
ingress:
|
||||
@@ -15,30 +15,36 @@ ingress:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
kubernetes.io/tls-acme: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 4G
|
||||
##################
|
||||
# alternative nginx configs
|
||||
#server_tokens off;
|
||||
#proxy_hide_header X-Powered-By;
|
||||
|
||||
#rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
|
||||
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
|
||||
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
|
||||
#location = /.well-known/carddav {
|
||||
# return 301 $scheme://$host/remote.php/dav;
|
||||
#}
|
||||
#location = /.well-known/caldav {
|
||||
# return 301 $scheme://$host/remote.php/dav;
|
||||
#}
|
||||
#location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
|
||||
# deny all;
|
||||
#}
|
||||
#location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
|
||||
# deny all;
|
||||
#}
|
||||
nginx.ingress.kubernetes.io/server-snippet: |-
|
||||
server_tokens off;
|
||||
proxy_hide_header X-Powered-By;
|
||||
rewrite ^/\.well-known/carddav https://$server_name/remote.php/dav/ redirect;
|
||||
rewrite ^/\.well-known/caldav https://$server_name/remote.php/dav/ redirect;
|
||||
|
||||
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
|
||||
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
|
||||
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
tls:
|
||||
- hosts:
|
||||
- "cloud.haumdaucher.de"
|
||||
@@ -59,6 +65,24 @@ nextcloud:
|
||||
),
|
||||
'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
|
||||
);
|
||||
overwrite.config.php: |-
|
||||
<?php
|
||||
$CONFIG = array(
|
||||
/**
|
||||
* When generating URLs, Nextcloud attempts to detect whether the server is
|
||||
* accessed via ``https`` or ``http``. However, if Nextcloud is behind a proxy
|
||||
* and the proxy handles the ``https`` calls, Nextcloud would not know that
|
||||
* ``ssl`` is in use, which would result in incorrect URLs being generated.
|
||||
* Valid values are ``http`` and ``https``.
|
||||
*/
|
||||
'overwritehost' => 'cloud.haumdaucher.de',
|
||||
'overwriteprotocol' => 'https',
|
||||
);
|
||||
region.config.php: |-
|
||||
<?php
|
||||
$CONFIG = array(
|
||||
'default_phone_region' => 'DE',
|
||||
);
|
||||
cronjob:
|
||||
enabled: true
|
||||
internalDatabase:
|
||||
|
||||
Reference in New Issue
Block a user