问题描述
报错的内容是2015/10/0814:53:45[error]2220#0:*3invalidURLprefixin"https://api.fotolia.com/",client:219.135.171.180,server:g1.gorse.com,request:"GET/HTTP/1.1",host:"g1.gorse.com"2015/10/0814:53:46[error]2220#0:*4invalidURLprefixin"https://api.fotolia.com/favicon.ico",client:219.135.171.180,server:g1.gorse.com,request:"GET/favicon.icoHTTP/1.1",host:"g1.gorse.com",referrer:"http://g1.gorse.com/"代理服务器的设置如下server{listen80;resolver8.8.8.8;server_nameg1.gorse.com;location/{proxy_passhttps://api.fotolia.com$request_uri;proxy_set_headerX-Real-IP$remote_addr;proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;proxy_set_headerX-Forwarded-Proto$scheme;}}安装nginx已经让支持ssl了
解决方案
解决方案二:
自己的帖子自己得顶啊
解决方案三:
invalidURLprefixin"https://api.fotolia.com这错误还不明显吗?认真看下吧。你可能没配置https的server吧!