3
yetone 2012-07-18 17:04:14 +08:00
|
4
kingwrcy 2012-07-18 17:09:14 +08:00
|
5
shao OP 结果就是banners图片看不到,回复那个图片看不到。
|
7
reorx 2012-07-18 17:49:35 +08:00
@yetone 我没有用 uwsgi 部署过 tornado,由于 tornado 本身就是一个非常好的服务器的缘故,一般是直接运行(或通过进程管理的工具运行),nginx 在前面做 upstream 来部署。在这种情况下,出错信息是会包含在返回结果中的。
猜测可能用的是StaticFileHandler,见:http://www.tornadoweb.org/documentation/_modules/tornado/web.html#StaticFileHandler |
8
ewex 2012-07-18 20:05:17 +08:00
难道是图片防盗链设置?
|
10
Livid MOD |
11
Kai MOD V2EX DNS 么?
|
12
kingwrcy 2012-07-19 09:02:09 +08:00
jerry@JerryPc:~$ ping static.v2ex.com
PING www.v2ex.com (106.187.41.232) 56(84) bytes of data. 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=1 ttl=50 time=190 ms 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=2 ttl=50 time=191 ms 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=3 ttl=50 time=196 ms 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=4 ttl=50 time=215 ms 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=5 ttl=50 time=212 ms 64 bytes from li384-232.members.linode.com (106.187.41.232): icmp_req=6 ttl=50 time=203 ms |
13
shao OP @Livid 现在正常了。
shao-mbp:~ shao$ ping static.v2ex.com PING c1.orca.io (199.91.73.248): 56 data bytes 64 bytes from 199.91.73.248: icmp_seq=0 ttl=47 time=260.245 ms 64 bytes from 199.91.73.248: icmp_seq=1 ttl=47 time=252.889 ms 64 bytes from 199.91.73.248: icmp_seq=2 ttl=47 time=252.402 ms 64 bytes from 199.91.73.248: icmp_seq=3 ttl=47 time=258.687 ms |