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 {