Fix branch location

parent 1144e8b4
......@@ -14,12 +14,12 @@ server {
proxy_set_header X-Scheme $scheme;
}
location ~ ^/([a-zA-Z0-9\-\._]+)/ {
location ~ ^/([a-zA-Z0-9\-\._]+)/(.*) {
set $branch $1;
set $branch_uri $2;
alias $managetests_root/branches/$branch/data/cache;
try_files $request_uri.html $request_uri/index.html $request_uri
@branch;
try_files $branch_uri.html $branch_uri/index.html $branch_uri @branch;
}
location @branch {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment