01 2013 档案

摘要: 阅读全文
posted @ 2013-01-17 10:14 透传云 阅读(1226) 评论(0) 推荐(0)
摘要:http://www.mysqlperformanceblog.com/2012/03/21/troubleshooting-mysql-memory-usage/ 阅读全文
posted @ 2013-01-13 23:19 透传云 阅读(252) 评论(0) 推荐(0)
摘要:配置 Nginx Http Proxy 代理服务器,与 [Squid] 功能一样,适用于正向代理 Http 网站。一,Nginx 正向代理配置文件:server { resolver 8.8.8.8; resolver_timeout 5s; listen 0.0.0.0:8080; access_log /home/reistlin/logs/proxy.access.log; error_log /home/reistlin/logs/proxy.error.log; location / { proxy_pass $scheme:/... 阅读全文
posted @ 2013-01-11 10:18 透传云 阅读(48721) 评论(3) 推荐(0)
摘要:这里,如果是单次重定向用 redirect, 如果永久跳转用permanent,这里用permanent{ listen 80; server_name xxx.com www.xxx.com; index index.html index.php; root /data/www/wwwroot; if ($http_host !~ "^www.xxx.com$") { rewrite ^(.*)http://www.xxx.com$1 permanent; } ........................ } 阅读全文
posted @ 2013-01-09 23:08 透传云 阅读(12886) 评论(1) 推荐(1)