Feat
Add possibilty to add proxy path. For example when you need access to Backend API on same domain as FE but on path
provider "aws" {
alias = "us_east_1"
region = "us-east-1"
}
module "static-site" {
source = "cookielab/static-site/aws"
version = "~> 2.1"
providers = {
aws.us_east_1 = aws.us_east_1
}
domains = ["www.example.com"]
domain_zone_id = aws_route53_zone.example_com.zone_id
s3_bucket_name = "example_com_web"
proxy_paths = [
{
origin_domain = "backend.example.com"
path_prefix = "/api"
}
]
}