[blogs] Try to fix custom domains



commit 33c62fa9533234757a801728b96b91b9ce5210ed
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 13 11:00:54 2020 +0200

    Try to fix custom domains

 nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index 222d93f..64c6d38 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -35,7 +35,7 @@ http {
     }
     
     map $uri $blogname {
-        ~^(?P<blogpath>/[_0-9a-zA-Z-]+/)files/(.*) $blogpath;
+         ~^(?P<blogpath>/[^/]+/)files/(.*) $blogpath;
     }
      
     map $blogname $blogid {


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