我正在将说明内容从Google Cloud迁移到S3。我们说static.example.com
。目前,所有静态html都指的是static.example.com/project1/css/main.js
。因此,在Google云端存储中,我们有这样的目录结构。
/
|--project1
|--index.html
|--project2
|--project3
我们希望将所有内容迁移到具有相同子域的S3。但是,还有另一个团队想要使用相同的存储桶,因为我们要为static.example.com
购买SSL证书。我想象的是新S3的结构。
/
|--team1
|--project1
|--index.html
|--project2
|--project3
|--team2
|--project1
但是,如果我们这样做,project
必须将所有代码更新为static.example.com/team1/...
是否可以仅为static.example.com
文件夹将team1
映射到S3?然后我可以static.team2.example.com
向team2
进行S3 PdfPTable tblHeadings = new PdfPTable(3);
tblHeadings.WidthPercentage = 100;
tblHeadings.SpacingBefore = 10f;
float[] headingRowWidths = new float[] { 550f, 50f, 400f };
tblHeadings.SetWidths(headingRowWidths);
tblHeadings.HorizontalAlignment = Element.ALIGN_LEFT;
Phrase phrasesec1Heading = new Phrase("Section 1: Payment Information", timesRoman9BoldFont);
PdfPCell cellSec1Heading GetCellForBorderedTable(phrasesec1Heading, Element.ALIGN_LEFT, ucscgold);
tblHeadings.AddCell(cellSec1Heading);
. . .
doc.Add(tblHeadings);
我意识到这可能是不可能的,所以任何建议,以减少麻烦,请建议。
答案 0 :(得分:0)
是的,这是可能的 - 只需在S3上为两个团队使用不同的存储桶。第1组将使用static.example.com,第2组将使用team2.static.example.com。