diff --git a/sites-available/elastic.kevinmidboe.conf b/sites-available/elastic.kevinmidboe.conf index bbae291..546d9ef 100644 --- a/sites-available/elastic.kevinmidboe.conf +++ b/sites-available/elastic.kevinmidboe.conf @@ -35,6 +35,7 @@ server { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' 'https://kevinmidboe.com'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; + add_header 'Access-Control-Allow-Headers' 'Content-Type, Content-Length'; add_header 'Content-Type' 'application/json; charset=utf-8'; add_header 'Content-Length' 0; return 204;