01 2013 档案
摘要:http://www.mysqlperformanceblog.com/2012/03/21/troubleshooting-mysql-memory-usage/
阅读全文
摘要:配置 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:/...
阅读全文
摘要:这里,如果是单次重定向用 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; } ........................ }
阅读全文

浙公网安备 33010602011771号