From ebd1e27768048bc03a8cf274a4d7b0b87b15d009 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Sun, 14 Jan 2024 23:58:37 +0330 Subject: [PATCH] fix(nginx): regex pattern in location directive --- .../templates/location.d/95-region-per-owner.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nginx/etc/nginx/templates/location.d/95-region-per-owner.conf.template b/packages/nginx/etc/nginx/templates/location.d/95-region-per-owner.conf.template index 0cfd3613..ccf63bb7 100644 --- a/packages/nginx/etc/nginx/templates/location.d/95-region-per-owner.conf.template +++ b/packages/nginx/etc/nginx/templates/location.d/95-region-per-owner.conf.template @@ -1,6 +1,6 @@ # PerOwner region # Store file location specific to each owner id. -location ~ ^/($storeRegionPerOwner/[A-z0-9_=-]+/[A-z0-9_=-]+)/ { +location ~ ^/$storeRegionPerOwner/[A-z0-9_=-]+/[A-z0-9_=-]+/ { try_files $uri =404; }