fix in nginx-cors.conf

This commit is contained in:
Tommaso Piccioli 2017-09-04 11:57:11 +02:00
parent 9a779358c4
commit fcc48bc005
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, 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';
{% if nginx_cors_limit_origin %}
}
if ($request_method = 'OPTIONS') {
return 204;
}