From 487e765768e6d1024524f71db05a64b571832c33 Mon Sep 17 00:00:00 2001 From: Reed Rosenbluth Date: Mon, 16 Dec 2019 12:53:31 -0500 Subject: [PATCH] add GET to allowed methods --- _storage/digital-ocean-deploy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_storage/digital-ocean-deploy.md b/_storage/digital-ocean-deploy.md index 22d76833..7ba719b9 100644 --- a/_storage/digital-ocean-deploy.md +++ b/_storage/digital-ocean-deploy.md @@ -500,7 +500,7 @@ In this task, you set up a simple Nginx reverse proxy to serve your Docker conta if ($request_method = 'OPTIONS') { more_set_headers 'Access-Control-Allow-Origin: *'; - more_set_headers 'Access-Control-Allow-Methods: POST, OPTIONS, DELETE'; + more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS, DELETE'; more_set_headers 'Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, authorization, If-Match'; more_set_headers 'Access-Control-Max-Age: 21600'; more_set_headers 'Content-Type: text/plain charset=UTF-8';