From 6adf9e6bf8b0601338c2ffb086faf3a86f6f3a4f Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 17 Oct 2023 09:31:43 +0200 Subject: [PATCH] Fix resolving osc-provider (Closes: #47) Accordingly to https://github.com/nextcloud/documentation/commit/dc0b8d9c393cce532c7043f44a46b30dcf8e7bef --- rootfs/etc/nginx/conf.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/nginx/conf.d/default.conf b/rootfs/etc/nginx/conf.d/default.conf index 016804c..8ef6242 100644 --- a/rootfs/etc/nginx/conf.d/default.conf +++ b/rootfs/etc/nginx/conf.d/default.conf @@ -49,7 +49,7 @@ server { return 404; } - location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) { + location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) { include /etc/nginx/fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.*)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; @@ -62,7 +62,7 @@ server { fastcgi_read_timeout 1200; } - location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) { + location ~ ^\/(?:updater|ocs-provider)(?:$|\/) { try_files $uri/ =404; index index.php; }