From 0ffbcf7075e0ded79432b115f738cf6e7f130b91 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Wed, 17 Jul 2024 08:29:50 +0200 Subject: [PATCH] docs.rs: allow POST requests --- terraform/docs-rs/cloudfront.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/docs-rs/cloudfront.tf b/terraform/docs-rs/cloudfront.tf index a6a4789e5..8a03a303f 100644 --- a/terraform/docs-rs/cloudfront.tf +++ b/terraform/docs-rs/cloudfront.tf @@ -90,7 +90,7 @@ resource "aws_cloudfront_distribution" "webapp" { default_cache_behavior { target_origin_id = "ec2" - allowed_methods = ["GET", "HEAD", "OPTIONS"] + allowed_methods = ["GET", "HEAD", "OPTIONS", "POST"] cached_methods = ["GET", "HEAD", "OPTIONS"] compress = true viewer_protocol_policy = "redirect-to-https"