锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲老熟女@TubeumTV,91亚洲自偷手机在线观看,亚洲精品tv久久久久久久久久http://m.tkk7.com/void241/category/33457.htmlzh-cnFri, 26 Jun 2009 04:23:18 GMTFri, 26 Jun 2009 04:23:18 GMT60涓涓畝鍗曠殑璐熻澆鍧囪 鐨勭ず渚?/title><link>http://m.tkk7.com/void241/archive/2009/06/26/284234.html</link><dc:creator>void</dc:creator><author>void</author><pubDate>Fri, 26 Jun 2009 02:35:00 GMT</pubDate><guid>http://m.tkk7.com/void241/archive/2009/06/26/284234.html</guid><wfw:comment>http://m.tkk7.com/void241/comments/284234.html</wfw:comment><comments>http://m.tkk7.com/void241/archive/2009/06/26/284234.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/void241/comments/commentRss/284234.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/void241/services/trackbacks/284234.html</trackback:ping><description><![CDATA[<p>== 涓涓畝鍗曠殑璐熻澆鍧囪 鐨勭ず渚嬶紝鎶妛ww.domain.com鍧囪 鍒版湰鏈轟笉鍚岀殑绔彛錛屼篃鍙互鏀逛負鍧囪 鍒頒笉鍚岀殑鍦板潃涓娿?==<br /> <pre><br /> http {<br /> : upstream myproject {<br /> : server 127.0.0.1:8000 weight=3;<br /> : server 127.0.0.1:8001;<br /> : server 127.0.0.1:8002;<br /> : server 127.0.0.1:8003;<br /> : }</p> <p>: server {<br /> : listen 80;<br /> : server_name www.domain.com;<br /> : location / {<br /> : proxy_pass http://myproject;<br /> : }<br /> : }<br /> }</p> <p></pre><br /> ----<br /> [[Category:Homepage]]</p> <img src ="http://m.tkk7.com/void241/aggbug/284234.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/void241/" target="_blank">void</a> 2009-06-26 10:35 <a href="http://m.tkk7.com/void241/archive/2009/06/26/284234.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鐢╪ginx+tomcat鏉ヤ唬鏇縜pache+jk+tomcathttp://m.tkk7.com/void241/archive/2008/08/06/220440.htmlvoidvoidWed, 06 Aug 2008 06:59:00 GMThttp://m.tkk7.com/void241/archive/2008/08/06/220440.htmlhttp://m.tkk7.com/void241/comments/220440.htmlhttp://m.tkk7.com/void241/archive/2008/08/06/220440.html#Feedback0http://m.tkk7.com/void241/comments/commentRss/220440.htmlhttp://m.tkk7.com/void241/services/trackbacks/220440.html
vi /usr/local/nginx/conf/nginx.conf 

緇欏嚭涓浜涗富瑕佹洿鏀圭殑鍦版柟 
user  nobody nobody; 
worker_processes  2; 
error_log  logs/error.log  notice; 
pid        logs/nginx.pid; 
events { 
    worker_connections  1024; 

http { 
    include       mime.types; 
    default_type  application/octet-stream; 
    include    /usr/local/nginx/conf/proxy.conf; 
#涓婇潰榪欒鏄鍔犵殑 
    server { 
        listen       81; 
        server_name  localhost;   
        charset gb2312; 
# serve static files 
        location ~ ^/(images|pages|javascript|js|css|flash|media|static)/  { 
                root    /usr/local/www; 
                expires 30d; 
        location / { 
            root /usr/local/www;            
            index  index.jsp index.htm; 
            proxy_pass http://192.168.1.250:8080; 
          } 

location /NginxStatus { 
                        stub_status             on; 
                        access_log              on; 
                        auth_basic              "NginxStatus"; 
                } 


璇存槑閰嶇疆鏂囦歡涓湁鎻愬埌proxy.conf 榪欎釜鏂囦歡鍙互VI涓涓涓嬫枃浠?nbsp;
[root@test conf]# cat proxy.conf  
#!nginx (-) 
# proxy.conf 
proxy_redirect          off; 
proxy_set_header        Host            $host; 
proxy_set_header        X-Real-IP       $remote_addr; 
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for; 
client_max_body_size    10m; 
client_body_buffer_size 128k; 
proxy_connect_timeout   90; 
proxy_send_timeout      90; 
proxy_read_timeout      90; 
proxy_buffers           32 4k; 
嫻嬭瘯閰嶇疆鏂囦歡 
[root@test conf]# /usr/local/nginx/sbin/nginx -t 
2008/05/04 15:40:02 [info] 2363#0: the configuration file /usr/local/nginx/conf/nginx.conf syntax is  

ok 
2008/05/04 15:40:02 [info] 2363#0: the configuration file /usr/local/nginx/conf/nginx.conf was tested  

successfully 
鍚姩 
[root@test conf]# /usr/local/nginx/sbin/nginx 
[root@test conf]# ps fax 
9400 ?        Ss     0:00 nginx: master process /usr/local/nginx/sbin/nginx 
 9401 ?        S      0:00  \_ nginx: worker process       
 9402 ?        S      0:00  \_ nginx: worker process   

http://192.168.1.250:81/NginxStatus 
Active connections: 1  
server accepts handled requests 
2 2 11  
Reading: 0 Writing: 1 Waiting: 0    


http://192.168.1.250:81灝卞彲浠ヨ闂垜鐨勯〉闈簡鐢ㄧ潃涓猲ignx+tomcat鏉ユ浛浠pache+jk+tomcat 
鍚屾牱鐨勫彲浠ヨsquid鏉ョ洃鍚?0绔彛 榪欐牱灝遍忔槑浠g悊浜?nbsp;
鏌ョ湅鏈嶅姟鍣ㄤ俊鎭?nbsp;
[root@test conf]# curl -I http://localhost 
HTTP/1.0 200 OK 
Server: nginx/0.6.26 
Date: Sun, 04 May 2008 07:18:27 GMT 
Content-Type: text/html;charset=GBK 
Set-Cookie: JSESSIONID=0CE2D90115EFDE9830215A55414BF11F; Path=/ 
X-Cache: MISS from test.suantop.com 
Via: 1.0 test.abc.com (squid/3.0.STABLE2) 
Connection: close



void 2008-08-06 14:59 鍙戣〃璇勮
]]>
Nginx + SSL 閰嶇疆http://m.tkk7.com/void241/archive/2008/08/06/220404.htmlvoidvoidWed, 06 Aug 2008 04:14:00 GMThttp://m.tkk7.com/void241/archive/2008/08/06/220404.htmlhttp://m.tkk7.com/void241/comments/220404.htmlhttp://m.tkk7.com/void241/archive/2008/08/06/220404.html#Feedback0http://m.tkk7.com/void241/comments/commentRss/220404.htmlhttp://m.tkk7.com/void241/services/trackbacks/220404.html瀹夎nginx涔嬪墠鍏堝畨瑁?openssl 鍜?openssl-devel
緙栬瘧nginx鏃朵嬌鐢?--with-http_ssl_module 灝卞彲浠ユ敮鎸丼SL浜?br />
鐒跺悗闇瑕佺敓鎴愭湇鍔″櫒璇佷功錛屾病閽卞氨鐢╫penssl鑷繁浣滀竴涓?br />
   openssl req -new -x509 -nodes -out eglic.crt -keyout eglic.key

澧炲姞涓涓櫄鎷熶富鏈?/code>

server {
 listen 443;
 ssl on;
 ssl_certificate  /opt/eglic.crt;
 ssl_certificate_key /opt/eglic.key;
 server_name 
www.eglic.com;
        charset gb2312;
 index  index.php index.html index.htm;
 root   /var/www/eglic;
 location / {
  index  index.php index.html index.htm;
  rewrite ^/show-([0-9]+)-([0-9]+)\.html$ /index.php?action=show&id=$1&page=$2 last;
  rewrite ^/category-([0-9]+)-([0-9]+)\.html$ /index.php?action=index&cid=$1&page=$2 last;
  rewrite ^/archives-([0-9]+)-([0-9]+)\.html$ /index.php?action=index&setdate=$1&page=$2 last;
  rewrite ^/(archives|search|reg|login|index|links)\.html$ /index.php?action=$1 last;
  rewrite ^/(comments|tagslist|trackbacks|index)-([0-9]+)\.html$ /index.php?action=$1&page=$2 last;
 }
 location ~ .*\.php?$
 {
  fastcgi_pass   127.0.0.1:10086;
  fastcgi_index  index.php;
  fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
  fastcgi_param  QUERY_STRING       $query_string;
  fastcgi_param  REQUEST_METHOD     $request_method;
  fastcgi_param  CONTENT_TYPE       $content_type;
  fastcgi_param  CONTENT_LENGTH     $content_length;
  fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
  fastcgi_param  REQUEST_URI        $request_uri;
  fastcgi_param  DOCUMENT_URI       $document_uri;
  fastcgi_param  DOCUMENT_ROOT      $document_root;
  fastcgi_param  SERVER_PROTOCOL    $server_protocol;
  fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
  fastcgi_param  SERVER_SOFTWARE    eglic/$nginx_version;
  fastcgi_param  REMOTE_ADDR        $remote_addr;
  fastcgi_param  REMOTE_PORT        $remote_port;
  fastcgi_param  SERVER_ADDR        $server_addr;
  fastcgi_param  SERVER_PORT        $server_port;
  fastcgi_param  SERVER_NAME        $server_name;
  fastcgi_param  REDIRECT_STATUS    200;
 }
}


鐜板湪鍙互閫氳繃 https://www.eglic.com/璁塊棶鎴戜簡錛?/code>



void 2008-08-06 12:14 鍙戣〃璇勮
]]>
Nginx 綆鍗曠殑璐熻澆鍧囪 閰嶇疆紺轟緥http://m.tkk7.com/void241/archive/2008/08/01/219233.htmlvoidvoidFri, 01 Aug 2008 01:47:00 GMThttp://m.tkk7.com/void241/archive/2008/08/01/219233.htmlhttp://m.tkk7.com/void241/comments/219233.htmlhttp://m.tkk7.com/void241/archive/2008/08/01/219233.html#Feedback0http://m.tkk7.com/void241/comments/commentRss/219233.htmlhttp://m.tkk7.com/void241/services/trackbacks/219233.htmlwww.s135.com 鍜?blog.s135.com 鍩熷悕鍧囨寚鍚?Nginx 鎵鍦ㄧ殑鏈嶅姟鍣↖P銆?br />
銆銆鐢ㄦ埛璁塊棶http://www.s135.com錛屽皢鍏惰礋杞藉潎琛″埌192.168.1.2:80銆?92.168.1.3:80銆?92.168.1.4:80銆?92.168.1.5:80鍥涘彴鏈嶅姟鍣ㄣ?br />
銆銆鐢ㄦ埛璁塊棶http://blog.s135.com錛屽皢鍏惰礋杞藉潎琛″埌192.168.1.7鏈嶅姟鍣ㄧ殑8080銆?081銆?082绔彛銆?br />
銆銆浠ヤ笅涓洪厤緗枃浠秐ginx.conf錛?br />
寮曠敤
user  www www;

worker_processes 10;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

#鏈澶ф枃浠舵弿榪扮
worker_rlimit_nofile 51200;

events
{
      use epoll;

      worker_connections 51200;
}

http
{
      include       conf/mime.types;
      default_type  application/octet-stream;

      keepalive_timeout 120;

      tcp_nodelay on;

      upstream  www.s135.com  {
              server   192.168.1.2:80;
              server   192.168.1.3:80;
              server   192.168.1.4:80;
              server   192.168.1.5:80;
      }

      upstream  blog.s135.com  {
              server   192.168.1.7:8080;
              server   192.168.1.7:8081;
              server   192.168.1.7:8082;
      }

      server
      {
              listen  80;
              server_name  www.s135.com;

              location / {
                       proxy_pass        http://www.s135.com;
                       proxy_set_header   Host             $host;
                       proxy_set_header   X-Real-IP        $remote_addr;
                       proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
              }

              log_format  www_s135_com  '$remote_addr - $remote_user [$time_local] $request '
                                '"$status" $body_bytes_sent "$http_referer" '
                                '"$http_user_agent" "$http_x_forwarded_for"';
              access_log  /data1/logs/www.log  www_s135_com;
      }

      server
      {
              listen  80;
              server_name  blog.s135.com;

              location / {
                       proxy_pass        http://blog.s135.com;
                       proxy_set_header   Host             $host;
                       proxy_set_header   X-Real-IP        $remote_addr;
                       proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
              }

              log_format  blog_s135_com  '$remote_addr - $remote_user [$time_local] $request '
                                '"$status" $body_bytes_sent "$http_referer" '
                                '"$http_user_agent" "$http_x_forwarded_for"';
              access_log  /data1/logs/blog.log  blog_s135_com;
      }
}


void 2008-08-01 09:47 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲欧美日韩综合久久久久| 精品亚洲A∨无码一区二区三区| 国产v亚洲v天堂a无| 一个人免费视频观看在线www| 91麻豆精品国产自产在线观看亚洲| 国产精品亚洲专区一区| 国产一区视频在线免费观看 | 免费人人潮人人爽一区二区| 日韩一区二区免费视频| 亚洲精品无码久久久久APP | 三年片在线观看免费| 91麻豆精品国产自产在线观看亚洲 | 30岁的女人韩剧免费观看| 亚洲黄网在线观看| 成人黄色免费网址| 色噜噜亚洲男人的天堂| 免费观看的a级毛片的网站| 九九精品国产亚洲AV日韩| 四虎影视在线永久免费看黄| 人人爽人人爽人人片A免费| 国产亚洲?V无码?V男人的天堂| 东方aⅴ免费观看久久av| 亚洲精品视频在线| 美女视频黄的全免费视频| 亚洲欧美aⅴ在线资源| 亚洲精品第一国产综合精品99 | 精品一区二区三区免费观看| 亚洲成av人在线视| 成人黄色免费网站| 四虎成人精品国产永久免费无码| 亚洲乱码中文字幕综合| 24小时在线免费视频| 亚洲乱码中文字幕在线| 国产aⅴ无码专区亚洲av麻豆| 99热在线观看免费| 亚洲国产成人久久精品软件 | 亚洲丰满熟女一区二区v| 国产v片免费播放| 免费不卡在线观看AV| 亚洲欧美黑人猛交群| 国产精一品亚洲二区在线播放|