mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Merge pull request #607 from YunoHost-Apps/NGINX
Fix ocs-provider warning
This commit is contained in:
commit
eae5cb4a70
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue