From 60defe8f8ce20fc25a163d841b2025d7048f48b7 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Tue, 5 May 2015 17:45:57 -0700 Subject: [PATCH] how does nginx work, part 3 --- nginxconf/flashy.cards | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginxconf/flashy.cards b/nginxconf/flashy.cards index ad12ea6..b53769f 100644 --- a/nginxconf/flashy.cards +++ b/nginxconf/flashy.cards @@ -26,7 +26,7 @@ server { add_header 'Access-Control-Allow-Origin' 'http://localhost'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PATCH, PUT'; - add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; + add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-CSRFToken'; proxy_pass http://backend_production; proxy_redirect http://backend_production $scheme://flashy.cards; proxy_set_header Host $host; -- 1.9.1