我有nginx版本constant_tsc
服务器正在运行Drupal 7.x
我已经包含了像这样的core.conf
nginx/1.9.9
此后我尝试# Location
location / {
include /etc/nginx/cors.conf;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
我
curl -I https://this.that.com/
我看不到'Access-Control-Allow-Origin''*'
因为这个镀铬错误
XMLHttpRequest无法加载https://this.that.com/endpoint。没有 请求中存在“Access-Control-Allow-Origin”标头 资源。因此不允许来源“http://localhost:8100” 访问。