首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
广告
V2EX
›
Linux
Nginx 反向代理 Tumblr 无法显示图片的问题
declanVox
·
2014-11-01 08:13:41 +08:00
· 3817 次点击
这是一个创建于 3514 天前的主题,其中的信息可能已经有所发展或是发生改变。
思路是从 VPS 缓存Tumblr图片,然后加上 SSL/https 。使用的是
sub_filter_types text/html text/css text/xml;
sub_filter
www.declanvox.com
declanvox.com
;
sub_filter_once off;
由于 Tumblr 使用图床的是动态链接,问题:
①https://declanvox.com// 是只能访问首页,点进去任何图片即出现404错误。
②https://declanvox.com// 后面的两丿是怎么回事?
③大家还有其他的思路吗?
Tumblr
Nginx
缓存
3 条回复
•
2014-11-01 17:20:18 +08:00
1
system
2014-11-01 09:19:25 +08:00 via Android
来源设置了吗,防盗链
2
declanVox
OP
2014-11-01 14:13:45 +08:00
@
system
未设置来源(请问如何设置),但刚测试 http 访问正常,https 只可访问
https://declanvox.com
页面,二级链接全部404错误。
3
ryd994
2014-11-01 17:20:18 +08:00
@
declanVox
proxy_set_header "Referer" "http://$host/"
应该就行了,不行的话把$request_uri加上
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
966 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 22:11
·
PVG 06:11
·
LAX 15:11
·
JFK 18:11
Developed with
CodeLauncher
♥ Do have faith in what you're doing.