AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 我反代的 缓存难道开启失败了 ? |
|
---|---|
恶小弟 |
恶小弟 发表于 2013-09-04 07:56:52
22个站,反代 没一点缓存文件 支持
点赞,加油! (0分)
2013-09-04 07:56:52 1
|
amysql |
Nginx 测试正常?
/usr/local/nginx/sbin/nginx -t find /home/amproxy_cache -type f | wc -l amh cat_nginx | grep 'proxy_' 分别执行,提供以上信息
回复
2013-09-04 12:42:05 2
AMH面板 - 好用高效低占用、安全可靠极稳定 |
恶小弟 |
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:8 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.net.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.net.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.cn.conf:9 nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.org.conf:9
回复
2013-09-04 13:22:35 3
|
恶小弟 |
8是 未开启 9是 开启的 nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful [root@bfwn-0817-1 ~]# find /home/amproxy_cache -type f | wc -l 122132 [root@bfwn-0817-1 ~]# amh cat_nginx | grep 'proxy_'
回复
2013-09-04 13:22:55 4
|
amysql |
有12万个缓存文件,要面板上查看缓存列表,先得创建缓存索引。 amh cat_nginx | grep 'proxy_' 这个没信息返回?Nginx怎么没缓存配置参数。 面板上AMProxy缓存设置页面截个图看看。
回复
2013-09-04 18:13:47 5
|
恶小弟 |
我自己改动过的
回复
2013-09-04 18:36:25 6
|
恶小弟 |
肿么手动删除缓存文件, 创建缓存索引 直接卡死了
回复
2013-09-04 19:04:14 7
|
amysql |
一下了创建十几万、几万需要较多时间了,面板php就得等。 缩小索引时间条件范围。 建议SSH用AMProxy的命令去创建。 比较好奇的是你 amh cat_nginx | grep 'proxy_' 怎么没信息返回?
回复
2013-09-04 19:27:36 8
|
恶小弟 |
amh cat_nginx | grep 'proxy_' 有回显proxy_cache_valid 200 304 8h; proxy_cache_key $scheme://$host$request_uri; proxy_temp_path /home/amproxy_cache_tmp; proxy_cache_path /home/amproxy_cache levels=1:2 keys_zone=amproxy:2000m inactive=8d max_size=20g;
回复
2013-09-04 21:01:44 9
|
恶小弟 |
命令是啥哇,老大,我在面板上 建立2分钟 能建立,2天 就不行了
回复
2013-09-04 21:05:36 10
|