Skip to content

Commit

Permalink
Update nextcloud.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
MAGICCC committed Oct 27, 2023
1 parent 7079000 commit cfa47eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/assets/nextcloud/nextcloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ server {
deny all;
}

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\/.+)\.php(?:$|\/) {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
Expand All @@ -105,7 +105,7 @@ server {
fastcgi_read_timeout 1200;
}

location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) {
location ~ ^\/(?:updater|ocs-provider)(?:$|\/) {
try_files $uri/ =404;
index index.php;
}
Expand Down

0 comments on commit cfa47eb

Please sign in to comment.