zoukankan      html  css  js  c++  java
  • nginx代理配置备份

    补充:

    代理对文件大小的限制,

    server {
    client_max_body_size 100M;
    listen 9096;
    server_name gate.chaohuoyy.com;

    location / {
    proxy_pass http://127.0.0.1/data/index.html; 
    }

    location /svn {
    proxy_pass http://192.168.1.95:8080/svn; 
    }

    }

    [root@izm5ehhtn7tzwk2lvy85nlz ~]# cat /etc/nginx/servers/iproxy.svn.conf

    server {

        listen       9095;

        server_name  ifire.com;

     

        location /47 {

            proxy_pass   http://127.0.0.1/data/index.html; 

        }

     

        location /57 {

            proxy_pass   http://127.0.0.1:8000/data/index.html;

        }

     

     

        location / {

            proxy_pass   http://127.0.0.1:9095; 

        }

     

        location /svn {

            proxy_pass   http://127.0.0.1:9095/svn; 

        }

     

        

     

    }

  • 相关阅读:
    bzoj 4017: 小Q的无敌异或
    [TJOI2014] Alice and Bob
    [TJOI2014] 上升子序列
    bzoj 3261: 最大异或和
    bzoj3087: Coci2009 misolovke
    bzoj3521: [Poi2014]Salad Bar
    bzoj4032: [HEOI2015]最短不公共子串
    bzoj1027: [JSOI2007]合金
    bzoj4637: 期望
    bzoj3919: [Baltic2014]portals
  • 原文地址:https://www.cnblogs.com/xingchong/p/10976092.html
Copyright © 2011-2022 走看看