From df1522088452e5e9edac6ec92fcd00dc7df809c6 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 21 May 2015 16:10:53 -0700 Subject: [PATCH] Adjust CloudFront configuration instructions to allow POST Summary: Ref T8293. We may submit POST requests to the alternate file domain, and CloudFront should be configured to route them. Test Plan: See T8293. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8293 Differential Revision: https://secure.phabricator.com/D12973 --- src/docs/user/configuration/configuring_file_domain.diviner | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/docs/user/configuration/configuring_file_domain.diviner b/src/docs/user/configuration/configuring_file_domain.diviner index 5724bc3536..98576e5ae3 100644 --- a/src/docs/user/configuration/configuring_file_domain.diviner +++ b/src/docs/user/configuration/configuring_file_domain.diviner @@ -52,6 +52,10 @@ your Phabricator install as an origin (make sure you point it at the primary domain name of your install, not just a load balancer or instance). You do not need to set up a new domain name, which makes setup a bit more straightforward. +Most settings can be left at their default values, but you should change +the **Allowed HTTP Methods** setting from `GET, HEAD` to +`GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE`. + Once configured, accessing the distribution's domain name should return a Phabricator error page indicating that Phabricator does not recognize the domain. If you see this page, it means you've configured things correctly.