diff --git a/packages/nginx/etc/nginx/templates/location.d/92-region-authenticated.conf.template b/packages/nginx/etc/nginx/templates/location.d/92-region-authenticated.conf.template index 66037be6..015845e7 100644 --- a/packages/nginx/etc/nginx/templates/location.d/92-region-authenticated.conf.template +++ b/packages/nginx/etc/nginx/templates/location.d/92-region-authenticated.conf.template @@ -1,7 +1,7 @@ # Authenticated region # Store file location that can be accessed by authenticated users. -location ^~ /$storeRegionAuthenticated/ { +location /$storeRegionAuthenticated/ { if (!-f $document_root/$userLocation/.token/$authUserToken.asn) { return 403; break;