[nextcloud-web] nginx: Try again but with working regex
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nextcloud-web] nginx: Try again but with working regex
- Date: Thu, 29 Oct 2020 21:09:42 +0000 (UTC)
commit 43c5f517f164026def3a2f4685ab80f227121eb6
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Oct 29 22:08:33 2020 +0100
nginx: Try again but with working regex
nginx/nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 9b644cd..64e21d4 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -102,7 +102,7 @@ http {
deny all;
}
- location ~
^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/)
{
+ location ~
^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
try_files $fastcgi_script_name =404;
include fastcgi_params;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]