From 99c350b4d78cc297ff9670b37ea24f452c8bf572 Mon Sep 17 00:00:00 2001 From: Johannes Schickling Date: Mon, 30 Nov 2015 14:36:45 +0000 Subject: [PATCH] thumbor-nginx-cors --- thumbor-nginx-cors/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thumbor-nginx-cors/nginx.conf b/thumbor-nginx-cors/nginx.conf index 34bb977..2e94967 100644 --- a/thumbor-nginx-cors/nginx.conf +++ b/thumbor-nginx-cors/nginx.conf @@ -48,7 +48,7 @@ http { listen 80 default; server_name localhost; - add_header 'Access-Control-Allow-Origin' "$http_origin"; + add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With';