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';