(domain+path) map to diffenent (cloud storage + buicket-name)

Comments

1 comment

  • Jian Guo Liu

    the issue has been solved after config following config to vcl
    if( req.http.host == "balifoo123.global.ssl.fastly.net" && req.url ~ "^/image" ) { set req.http.host = "test11500.s3-us-west-2.amazonaws.com"; set req.url = regsub(req.url, "/image", ""); }

    if( req.http.host == "balifoo123.global.ssl.fastly.net" && req.url ~ "^/video" ) { set req.http.host = "test1600.s3.softlayer.com"; set req.url = regsub(req.url, "/video", ""); }

Please sign in to leave a comment.