mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
fix: Correct CORS syntax in yc-s3 module
This commit is contained in:
parent
cd68e73e40
commit
1bba8d0d53
@ -27,12 +27,12 @@ resource "yandex_storage_bucket" "pulse" {
|
||||
acl = "public-read"
|
||||
|
||||
# Настройка CORS для внешнего доступа
|
||||
cors {
|
||||
allowed_headers = ["*"]
|
||||
allowed_methods = ["GET", "PUT", "POST", "DELETE", "HEAD"]
|
||||
allowed_origins = ["*"]
|
||||
expose_headers = ["ETag"]
|
||||
max_age_seconds = 3600
|
||||
cors_rule {
|
||||
allowed_headers = ["*"]
|
||||
allowed_methods = ["GET", "PUT", "POST", "DELETE", "HEAD"]
|
||||
allowed_origins = ["*"]
|
||||
expose_headers = ["ETag"]
|
||||
max_age_seconds = 3600
|
||||
}
|
||||
|
||||
# Версионирование объектов
|
||||
|
||||
Loading…
Reference in New Issue
Block a user