Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
The Basics
- Nextcloud Server version (e.g., 29.x.x):
34.0.1.2
- Operating system and version (e.g., Ubuntu 24.04):
Docker Apache container
- Web server and version (e.g, Apache 2.4.25):
2.4.67
- Reverse proxy and version _(e.g. nginx 1.27.2)
nginx ingress controller - latest official kubernetes - deprecated
- PHP version (e.g, 8.3):
8.5.8
- Is this the first time you’ve seen this error? (Yes / No):
yes I just noticed it
- When did this problem seem to first start?
2 weeks ago
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Helm chart community
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Everytime I try to upload a file bigger than 10Mbytes through my phone (Using nextcloud App or Foldersync Pro and nextcloud connector)
I get the following errors:
storage-nextcloud-69bb9d679d-k9j56 nextcloud 10.10.1.234 - varet [17/Jul/2026:04:55:58 +0000] "MKCOL /remote.php/dav/uploads/user/d319628235dc77e89f2ced3b24e4ef5d HTTP/1.1" 405 768 "-" "Mozilla/5.0 (Android) Nextcloud-android/34.0.0"
storage-nextcloud-69bb9d679d-k9j56 nextcloud 10.10.1.234 - varet [17/Jul/2026:04:55:58 +0000] "PROPFIND /remote.php/dav/uploads/user/d319628235dc77e89f2ced3b24e4ef5d HTTP/1.1" 207 1525 "-" "Mozilla/5.0 (Android) Nextcloud-android/34.0.0"
Steps to replicate it (hint: details matter!):
-
upload a file through Android App
-
Failure comes with Conflict on file! but then I canno do nothing more
uploading from my chrome works!
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
No Lines
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
storage-nextcloud-69bb9d679d-k9j56 nextcloud 10.10.1.234 - user [17/Jul/2026:04:55:58 +0000] "MKCOL /remote.php/dav/uploads/user/d319628235dc77e89f2ced3b24e4ef5d HTTP/1.1" 405 768 "-" "Mozilla/5.0 (Android) Nextcloud-android/34.0.0"
storage-nextcloud-69bb9d679d-k9j56 nextcloud 10.10.1.234 - user[17/Jul/2026:04:55:58 +0000] "PROPFIND /remote.php/dav/uploads/user/d319628235dc77e89f2ced3b24e4ef5d HTTP/1.1" 207 1525 "-" "Mozilla/5.0 (Android) Nextcloud-android/34.0.0"
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"upload_tmp_dir": "\/var\/www\/html\/data\/tmp",
"tempdirectory": "\/var\/www\/html\/data\/tmp",
"davstorage.request_timeout": 1800,
"openmetrics_allowed_clients": [
"10.10.0.0\/22",
"172.25.0.0\/16",
"127.0.0.1"
],
"objectstore_clean_room": true,
"dav.enable.chunked_upload_v2": false,
"bulkupload.enabled": false,
"htaccess.RewriteBase": "\/",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"logfile": "data\/nextcloud.log",
"enable_previews": false,
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"objectstore_multibucket": {
"class": "\\OC\\Files\\ObjectStore\\S3",
"arguments": {
"num_buckets": 4,
"bucket": "nextcloud-",
"autocreate": false,
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"hostname": "minio.ar80.eu",
"region": "",
"port": 443,
"use_ssl": true,
"use_path_style": true
}
},
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"overwritehost": "nextcloud.domain",
"default_phone_region": "DE",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"trusted_domains": [
"localhost",
"nextcloud.domain",
"172.25.*"
],
"allow_local_remote_servers": true,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "34.0.1.2",
"overwrite.cli.url": "https:\/\/nextcloud.domain",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"loglevel": 2,
"maintenance": false,
"theme": "",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/exiftool-amd64-glibc",
"maintenance_window_start": 1,
"upgrade.disable-web": true,
"app_install_overwrite": [],
"data-fingerprint": "2ce1e29eb22d0--"
},
"apps": {
"activity": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "7.0.0"
},
"admin_audit": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.24.0"
},
"app_api": {
"types": "",
"installed_version": "34.0.0",
"enabled": "yes"
},
"appstore": {
"installed_version": "1.0.0",
"enabled": "yes",
"types": ""
},
"backgroundjob": {
"lastjob": "71308"
},
"bruteforcesettings": {
"types": "",
"enabled": "yes",
"installed_version": "7.0.0"
},
"calendar": {
"types": "",
"enabled": "yes",
"installed_version": "6.5.1"
},
"circles": {
"installed_version": "25.0.0",
"types": "filesystem,dav",
"loopback_tmp_scheme": "http",
"enabled": "no",
"maintenance_run": "0",
"maintenance_update": "{\"3\":1670216013,\"2\":1670216013,\"1\":1670216013}"
},
"cloud_federation_api": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.18.0"
},
"comments": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.24.0"
},
"contactsinteraction": {
"types": "dav",
"enabled": "yes",
"installed_version": "1.15.0"
},
"core": {
"installedat": "1670096280.6527",
"vendor": "nextcloud",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"public_files": "files_sharing\/public.php",
"metadataGenerationDone": true,
"backgroundjobs_mode": "cron",
"emailTestSuccessful": "1",
"shareapi_default_internal_expire_date": "yes",
"shareapi_default_permission_canupdate": "no",
"shareapi_default_permission_candelete": "no",
"shareapi_default_permissions": "5",
"shareapi_default_permission_canshare": "no",
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"files_metadata_installed": "1",
"lastupdatedat": 1784263759,
"lastupdateResult": "[]",
"lastcron": 1784263804,
"files_metadata": {
"blurhash": {
"value": null,
"type": "string",
"etag": "68545b4467864",
"indexed": false,
"editPermission": 0
},
"photos-original_date_time": {
"value": null,
"type": "int",
"etag": "",
"indexed": true,
"editPermission": 0
}
},
"oc.integritycheck.checker": []
},
"dashboard": {
"types": "",
"enabled": "yes",
"installed_version": "7.14.0"
},
"dav": {
"types": "filesystem",
"enabled": "yes",
"checked_for_classified_activity": true,
"installed_version": "1.39.0",
"regeneratedBirthdayCalendarsForYearFix": "yes",
"buildCalendarSearchIndex": "yes",
"buildCalendarReminderIndex": "yes",
"chunks_migrated": "1",
"builtSocialSearchIndex": "yes"
},
"deck": {
"types": "dav",
"installed_version": "1.18.2",
"enabled": "yes"
},
"federatedfilesharing": {
"types": "",
"enabled": "yes",
"installed_version": "1.24.0"
},
"federation": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.24.0"
},
"files": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.6.0",
"mimetype_version": "32.0.0.13",
"max_chunk_size": "0"
},
"files_downloadlimit": {
"types": "",
"enabled": "yes",
"installed_version": "5.2.0-dev.0"
},
"files_external": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.26.0",
"user_mounting_backends": "ftp,dav,owncloud,sftp,amazons3,swift,\\OC\\Files\\Storage\\SFTP_Key"
},
"files_lock": {
"installed_version": "34.0.0",
"enabled": "yes",
"types": "filesystem,dav"
},
"files_pdfviewer": {
"types": "",
"enabled": "yes",
"installed_version": "7.0.0-dev.0"
},
"files_reminders": {
"types": "",
"enabled": "yes",
"installed_version": "1.7.0"
},
"files_rightclick": {
"enabled": "no",
"types": "",
"installed_version": "1.6.0"
},
"files_sharing": {
"types": "filesystem",
"enabled": "yes",
"incoming_server2server_share_enabled": "no",
"outgoing_server2server_share_enabled": "yes",
"outgoing_server2server_group_share_enabled": "no",
"incoming_server2server_group_share_enabled": "no",
"installed_version": "1.26.0"
},
"files_trashbin": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.24.0"
},
"files_versions": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.27.0"
},
"firstrunwizard": {
"enabled": "yes",
"types": "",
"installed_version": "7.0.0-dev.0"
},
"geoblocker": {
"installed_version": "0.5.16",
"types": "",
"choosenCountries": "CN, ",
"chosenService": "1",
"enabled": "no"
},
"integration_onedrive": {
"installed_version": "1.1.4",
"types": "",
"use_popup": "1",
"client_id": "***REMOVED SENSITIVE VALUE***",
"client_secret": "***REMOVED SENSITIVE VALUE***",
"enabled": "no"
},
"logreader": {
"enabled": "yes",
"installed_version": "7.0.0",
"types": "logging"
},
"lookup_server_connector": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.22.0"
},
"maps": {
"types": "filesystem",
"enabled": "no",
"installed_version": "1.7.1"
},
"memories": {
"installed_version": "4.11.0",
"enabled": "no",
"types": ""
},
"nextcloud_announcements": {
"types": "logging",
"enabled": "yes",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
"installed_version": "6.0.0"
},
"notifications": {
"types": "logging",
"enabled": "yes",
"webpush_vapid_pubkey": "BAGL-lE2uIl7O9FcjqqwQ-OmE5So2-vTTHxmrOWG7RffJmzatgM",
"installed_version": "7.0.0-dev.1",
"webpush_vapid_privkey": "***REMOVED SENSITIVE VALUE***"
},
"oauth2": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.22.0"
},
"office": {
"installed_version": "1.0.0",
"enabled": "yes",
"types": ""
},
"password_policy": {
"types": "authentication",
"enabled": "yes",
"enforceUpperLowerCase": "1",
"enforceNumericCharacters": "1",
"enforceSpecialCharacters": "1",
"installed_version": "6.0.0-dev.0"
},
"photos": {
"types": "dav,authentication",
"installed_version": "4.0.0-dev.1",
"enabled": "no",
"lastPlaceMappedUser": "varet-ereader",
"lastPlaceMappingDone": "true"
},
"privacy": {
"types": "",
"enabled": "yes",
"installed_version": "6.0.0-dev.1"
},
"profile": {
"installed_version": "1.3.0",
"types": "",
"enabled": "yes"
},
"provisioning_api": {
"types": "prevent_group_restriction",
"enabled": "yes",
"installed_version": "1.24.0"
},
"quota_warning": {
"installed_version": "1.24.0",
"types": "filesystem",
"enabled": "yes"
},
"recognize": {
"installed_version": "12.0.0",
"types": "filesystem,dav",
"enabled": "no",
"tensorflow.gpu": "false",
"faces.enabled": "true",
"landmarks.enabled": "true",
"musicnn.enabled": "false",
"movinet.enabled": "false",
"tensorflow.cores": "4",
"imagenet.enabled": "true",
"tensorflow.purejs": "true",
"node_binary": "\/var\/www\/html\/custom_apps\/recognize\/bin\/node",
"nice_binary": "\/usr\/bin\/nice",
"nice_value": "0",
"ffmpeg_binary": "\/var\/www\/html\/custom_apps\/recognize\/lib\/Migration\/..\/..\/node_modules\/ffmpeg-static\/ffmpeg",
"faces.status": "true",
"imagenet.status": "true",
"landmarks.status": "true",
"faces.lastFile": "1751473463",
"imagenet.lastFile": "1751473214",
"landmarks.lastFile": "1751473373",
"clusterFaces.lastRun": "0",
"faces.batchSize": "150",
"imagenet.batchSize": "100",
"landmarks.batchSize": "100",
"movinet.batchSize": "20",
"musicnn.batchSize": "100",
"concurrency.enabled": "false"
},
"recommendations": {
"types": "",
"enabled": "yes",
"installed_version": "7.0.0"
},
"related_resources": {
"types": "",
"enabled": "yes",
"installed_version": "5.0.0-dev.0"
},
"richdocuments": {
"external_apps": "",
"wopi_allowlist": "10.0.0.0\/8,172.25.0.0\/12",
"types": "filesystem,prevent_group_restriction",
"installed_version": "11.0.1",
"public_wopi_url": "https:\/\/nextcloud.domain",
"disable_certificate_verification": "yes",
"edit_groups": "",
"wopi_url": "https:\/\/nextcloud.domain\/custom_apps\/richdocumentscode\/proxy.php?req=",
"enabled": "yes"
},
"richdocumentscode": {
"types": "",
"enabled": "yes",
"installed_version": "26.4.104"
},
"serverinfo": {
"types": "",
"enabled": "yes",
"cached_count_storages": "17",
"token": "***REMOVED SENSITIVE VALUE***",
"cached_count_appdata_files": 358895,
"cached_count_filecache": 770025,
"installed_version": "6.0.0",
"size_appdata_storage": 17663074840
},
"settings": {
"types": "",
"enabled": "yes",
"installed_version": "1.17.0"
},
"sharebymail": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.24.0"
},
"sociallogin": {
"custom_providers": "null",
"types": "",
"enabled": "yes",
"disable_registration": "1",
"create_disabled_users": "",
"allow_login_connect": "1",
"prevent_create_email_exists": "",
"update_profile_on_login": "",
"no_prune_user_groups": "",
"auto_create_groups": "",
"restrict_users_wo_mapped_groups": "",
"restrict_users_wo_assigned_groups": "",
"disable_notify_admins": "",
"hide_default_login": "",
"button_text_wo_prefix": "",
"oauth_providers": "{\"google\":{\"appid\":\"\",\"secret\":\"\",\"auth_params\":{\"hd\":\"\"}},\"amazon\":{\"appid\":\"\",\"secret\":\"\"},\"facebook\":{\"appid\":\"\",\"secret\":\"\"},\"twitter\":{\"appid\":\"\",\"secret\":\"\"},\"GitHub\":{\"appid\":\"\",\"secret\":\"\",\"orgs\":\"\"},\"discord\":{\"appid\":\"\",\"secret\":\"\",\"guilds\":\"\"},\"QQ\":{\"appid\":\"\",\"secret\":\"\"},\"slack\":{\"appid\":\"\",\"secret\":\"\"},\"telegram\":{\"appid\":\"\",\"secret\":\"\"},\"mailru\":{\"appid\":\"\",\"secret\":\"\",\"auth_params\":{\"hd\":\"\"}},\"yandex\":{\"appid\":\"\",\"secret\":\"\",\"auth_params\":{\"hd\":\"\"}},\"BitBucket\":{\"appid\":\"\",\"secret\":\"\",\"workspace\":\"\"},\"PlexTv\":{\"appid\":\"\"}}",
"installed_version": "6.5.2"
},
"support": {
"types": "session",
"enabled": "yes",
"installed_version": "6.0.0",
"SwitchUpdaterServerHasRun": "yes"
},
"survey_client": {
"installed_version": "1.13.0",
"types": "",
"enabled": "no"
},
"systemtags": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.24.0"
},
"tasks": {
"types": "",
"enabled": "no",
"installed_version": "0.18.1"
},
"text": {
"types": "dav",
"enabled": "yes",
"installed_version": "8.0.0"
},
"theming": {
"types": "logging",
"enabled": "yes",
"disable-user-theming": "yes",
"cachebuster": "1",
"installed_version": "2.9.0"
},
"twofactor_backupcodes": {
"types": "",
"enabled": "yes",
"installed_version": "1.23.0"
},
"twofactor_totp": {
"types": "",
"enabled": "yes",
"installed_version": "16.0.0"
},
"updatenotification": {
"types": "",
"enabled": "yes",
"related_resources": "1.0.4",
"tasks": "0.15.0",
"recognize": "3.6.1",
"deck": "1.12.2",
"sociallogin": "6.1.0",
"installed_version": "1.24.0",
"richdocuments": "10.1.3",
"richdocumentscode": "24.4.902",
"update_check_errors": 0,
"calendar": "5.5.0",
"core": "33.0.6.2"
},
"user_status": {
"types": "",
"enabled": "yes",
"installed_version": "1.14.0"
},
"user_usage_report": {
"types": "filesystem",
"installed_version": "5.0.0",
"enabled": "no"
},
"viewer": {
"types": "",
"enabled": "yes",
"installed_version": "7.0.0-dev.0"
},
"weather_status": {
"types": "",
"enabled": "yes",
"installed_version": "1.14.0"
},
"webhook_listeners": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.6.0"
},
"workflowengine": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.16.0"
}
}
}
Apps
The output of occ app:list
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- app_api: 34.0.0
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- calendar: 6.5.1
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- contactsinteraction: 1.15.0
- dashboard: 7.14.0
- dav: 1.39.0
- deck: 1.18.2
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0-dev.0
- files_external: 1.26.0
- files_lock: 34.0.0
- files_pdfviewer: 7.0.0-dev.0
- files_reminders: 1.7.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- firstrunwizard: 7.0.0-dev.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- nextcloud_announcements: 6.0.0
- notifications: 7.0.0-dev.1
- oauth2: 1.22.0
- office: 1.0.0
- password_policy: 6.0.0-dev.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- quota_warning: 1.24.0
- recommendations: 7.0.0
- related_resources: 5.0.0-dev.0
- richdocuments: 11.0.1
- richdocumentscode: 26.4.104
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- sociallogin: 6.5.2
- support: 6.0.0
- systemtags: 1.24.0
- text: 8.0.0
- theming: 2.9.0
- twofactor_backupcodes: 1.23.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- user_status: 1.14.0
- viewer: 7.0.0-dev.0
- weather_status: 1.14.0
- webhook_listeners: 1.6.0
- workflowengine: 2.16.0
Disabled:
- circles: 34.0.0 (installed 25.0.0)
- encryption: 2.22.0
- files_rightclick: 0.15.1 (installed 1.6.0)
- maps: 1.7.1 (installed 1.7.1)
- photos: 7.0.0 (installed 4.0.0-dev.1)
- recognize: 12.0.0 (installed 12.0.0)
- survey_client: 6.0.0-dev.0 (installed 1.13.0)
- suspicious_login: 12.0.0-dev.0
- tasks: 0.18.1 (installed 0.18.1)
- twofactor_nextcloud_notification: 8.0.0
- user_ldap: 1.25.0
- user_usage_report: 5.0.0 (installed 5.0.0)
Nginx Ingress annotations:
nginx.ingress.kubernetes.io/client-header-buffer-size: 16k
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,X-Frontend-For,X-Product,X-Developer-Id
nginx.ingress.kubernetes.io/cors-allow-methods: GET, HEAD, POST, OPTIONS, PUT,
PATCH, DELETE, PROPFIND, MKCOL, REPORT, COPY, MOVE
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/enable-modsecurity: "false"
nginx.ingress.kubernetes.io/large-client-header-buffers: 4 16k
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-buffer-size: 512m
nginx.ingress.kubernetes.io/proxy-buffering: "off"
nginx.ingress.kubernetes.io/proxy-busy-buffers-size: 512m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
nginx.ingress.kubernetes.io/server-snippet: |-
set $fixed_destination $http_destination;
if ($http_destination ~* ^https(.*)$) {
set $fixed_destination http$1;
}
proxy_set_header X-Chunks-Supported true;
proxy_set_header Destination $fixed_destination;
proxy_set_header Overwrite $http_overwrite;
server_tokens off;
proxy_hide_header X-Powered-By;
rewrite ^/.well-known/webfinger /index.php/.well-known/webfinger last;
rewrite ^/.well-known/nodeinfo /index.php/.well-known/nodeinfo 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; }