1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Fix ocs-provider warning

This commit is contained in:
Éric Gaspar 2023-10-07 18:35:24 +02:00
parent 75179c5597
commit 85b5d2bad9

View file

@ -92,7 +92,7 @@ location ^~ __PATH__/ {
# Required for legacy support # Required for legacy support
# https://github.com/nextcloud/documentation/pull/2197#issuecomment-721432337 # https://github.com/nextcloud/documentation/pull/2197#issuecomment-721432337
# This line fix the ldap admin page # This line fix the ldap admin page
rewrite ^__PATH__/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) __PATH__/index.php$request_uri; rewrite ^__PATH__/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode\/proxy) __PATH__/index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info; set $path_info $fastcgi_path_info;
@ -112,7 +112,7 @@ location ^~ __PATH__/ {
fastcgi_request_buffering off; fastcgi_request_buffering off;
} }
location ~ ^__PATH__/(?:updater|oc[ms]-provider)(?:$|/) { location ~ ^__PATH__/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404; try_files $uri/ =404;
index index.php; index index.php;
} }