combine ocm-provider and ocs-provider

This commit is contained in:
hoellen 2019-04-12 10:49:07 +02:00
parent 3e59eb5899
commit 9416335927

View File

@ -44,7 +44,7 @@ server {
deny all;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|ocm-provider/.+)\.php(?:$|/) {
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|oc[ms]-provider/.+)\.php(?:$|/) {
include /nginx/conf/fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_hide_header X-Powered-By;
@ -58,7 +58,7 @@ server {
fastcgi_read_timeout 1200;
}
location ~ ^/(?:updater|ocs-provider|ocm-provider)(?:$|/) {
location ~ ^/(?:updater|oc[ms]-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}