diff --git a/conf/nginx.conf b/conf/nginx.conf index 629a791..1f8b965 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -104,6 +104,11 @@ location ^~ __PATH__/ { fastcgi_request_buffering off; } + location ~ ^/(?:updater|oc[ms]-provider)(?:$|/) { + try_files $uri/ =404; + index index.php; + } + location ~ \.(?:css|js|svg|gif)$ { try_files $uri / __PATH__/index.php$request_uri; expires 6M; # Cache-Control policy borrowed from `.htaccess`