ann
          冰是沒有未來的,因?yàn)樗挠篮?/span>
          posts - 107,comments - 34,trackbacks - 0
          例子 修改$


          user    syncher syncher;
          worker_processes  2;
          events {
              use epoll; # for linux
              worker_connections  1024;
          }


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


              #access_log  logs/access.log  main;

              sendfile        on;
              #tcp_nopush     on;

              #keepalive_timeout  0;
              keepalive_timeout  65;

              gzip  on;

              upstream tomcats {
                  server 127.0.0.1:18080 weight=1;
              }

              server {
                  listen       80;
                  server_name  _;

                  charset utf-8;

                  #access_log  logs/host.access.log  main;

                  location / {
                      root   html;
                      index  index.html index.htm;
                          #proxy_pass   http://tomcats;  
                  }

                  location ~ ^/NginxStatus/ { 
                      stub_status on; #Nginx 
                      access_log off; 
                  } 
                  #error_page  404              /404.html;

                  # redirect server error pages to the static page /50x.html
                  #
                  error_page   500 502 503 504  /50x.html;
                  location = /50x.html {
                      root   html;
                  }

                  # proxy the PHP scripts to Apache listening on 127.0.0.1:80
                  #
                  #location ~ \.php$ {
                  #    proxy_pass   http://127.0.0.1;
                  #}

                  # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
                  #
                  #location ~ \.php$ {
                  #    root           html;
                  #    fastcgi_pass   127.0.0.1:9000;
                  #    fastcgi_index  index.php;
                  #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
                  #    include        fastcgi_params;
                  #}

                  # deny access to .htaccess files, if Apache's document root
                  # concurs with nginx's one
                  #
                  #location ~ /\.ht {
                  #    deny  all;
                  #}

                  location ~ /jira {
                          proxy_pass      http://192.168.4.217;

                          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 50m;
                          client_body_buffer_size 256k;
                          proxy_connect_timeout 30;
                          proxy_send_timeout 30;
                          proxy_read_timeout 60;
                          proxy_buffer_size 16k;
                          proxy_buffers 4 32k;
                          proxy_busy_buffers_size 64k;
                          proxy_temp_file_write_size 64k;

                  }
              }


              
            

          }{ngiux_server}/conf/ngiux.conf

          當(dāng)下,把心放下 放下如果是可能的,那一定是在當(dāng)下,
          不在過去,也不在未來。
          當(dāng)下放下。唯有活在當(dāng)下,你的問題才能放下。

          主站蜘蛛池模板: 林芝县| 南丰县| 朝阳县| 望奎县| 根河市| 崇礼县| 达尔| 高碑店市| 镇远县| 安泽县| 湘乡市| 汉阴县| 鹤庆县| 康马县| 淳化县| 丹棱县| 苍溪县| 德州市| 原阳县| 洛阳市| 绥宁县| 五原县| 都兰县| 紫金县| 蒙城县| 天柱县| 淅川县| 维西| 温宿县| 三明市| 潼关县| 大洼县| 民权县| 玉门市| 调兵山市| 焦作市| 石门县| 红河县| 镇巴县| 望谟县| 乐至县|