Unverified Commit 757e50b0 authored by mihailstoynov's avatar mihailstoynov Committed by GitHub
Browse files

Merge pull request #1 from mihailstoynov/mihailstoynov-patch-ocm

Fixing 'Your web server is not properly set up to resolve "/ocm-provi…
parents b4320e23 97654cb5
......@@ -124,7 +124,7 @@ server {
deny all;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|oc[ms]-provider/.+|core/templates/40[34])\.php(?:$|/) {
# include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
......@@ -139,7 +139,7 @@ server {
#fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
location ~ ^/(?:updater|oc[ms]-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment