[nextcloud-web] Regex update



commit 6fb4719961cfc3ed0a52f1d3ed16caa29f652dc8
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 22 16:48:41 2021 +0200

    Regex update

 nginx/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 1f95f06..6ca9011 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -29,7 +29,7 @@ http {
 
   map $http_x_forwarded_for $custom_x_forwarded_for {
     default $http_x_forwarded_for;
-    ~^::ffff:(?<ip>.*) '$ip';
+    ~^::ffff:.* '$1';
   }
 
   server {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]