From aab7c0cee649b083283e765c868b938405983dc9 Mon Sep 17 00:00:00 2001 From: Sajith K Date: Mon, 6 Mar 2023 17:05:52 +0530 Subject: [PATCH] Update nginx-template.conf (#1091) Update to allow access of private files --- images/nginx/nginx-template.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/nginx/nginx-template.conf b/images/nginx/nginx-template.conf index 90eabeea..de0b21d2 100644 --- a/images/nginx/nginx-template.conf +++ b/images/nginx/nginx-template.conf @@ -37,7 +37,7 @@ server { location ~ ^/protected/(.*) { internal; - try_files /sites/$http_host/$1 =404; + try_files /sites/${FRAPPE_SITE_NAME_HEADER}/$1 =404; } location /socket.io {