mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
nextcloud-nginx.conf.j2: Patch both 'oc[ms]-provider' to 'ocs-provider'
This commit is contained in:
parent
1454cf7f42
commit
ba9fa67aaa
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ location ^~ {{ nextcloud_url }} {
|
|||
deny all;
|
||||
}
|
||||
|
||||
location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
|
||||
location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+)\.php(?:$|\/) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
|
||||
set $path_info $fastcgi_path_info;
|
||||
try_files $fastcgi_script_name =404;
|
||||
|
@ -102,7 +102,7 @@ location ^~ {{ nextcloud_url }} {
|
|||
fastcgi_request_buffering off;
|
||||
}
|
||||
|
||||
location ~ ^\/nextcloud\/(?:updater|oc[ms]-provider)(?:$|\/) {
|
||||
location ~ ^\/nextcloud\/(?:updater|ocs-provider)(?:$|\/) {
|
||||
try_files $uri/ =404;
|
||||
index index.php;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue