diff --git a/conf/nginx.conf b/conf/nginx.conf index b592bc7..25f7f1e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -107,6 +107,12 @@ location ^~ __PATH__/ { fastcgi_request_buffering off; } + location ~ ^/(?:updater|oc[ms]-provider)(?:$|/) { + try_files $uri/ =404; + index index.php; + + } + location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ { try_files $uri / __PATH__/index.php$request_uri; expires 6M; # Cache-Control policy borrowed from `.htaccess`