zoukankan      html  css  js  c++  java
  • haproxy nginx 多路径

    nginx 多路径:
    
            location / {
                root /t/deploy/zjdev/deployedApps/zjzc-web-frontEnd/;
                index  index.html index.htm;
            }
    		
            location /backoffice  {
                root /t/deploy/zjdev/deployedApps/zjzc-web-backoffice/;
                index  index.html index.htm;
            }
    	
    	location /zjzc-hy-front  {
                root /t/deploy/zjdev/deployedApps/;
                index  index.html index.htm;
            }
    
    
    	location /zjzc-hy-web-admin  {
                root /t/deploy/zjdev/deployedApps/;
                index  index.html index.htm;
            
    		
    图片服务器:
        location /images {
    	    root /nfs01/zjtest;
                index  index.html;
            }
    
            location /contract {
    	    root /nfs01/zjtest;
                index  index.html;
            }
    
    
    haproxy 配置:
    
       acl             image_req              path_beg                -i                      /images
            use_backend     imageserver          if                      image_req
    		

  • 相关阅读:
    Rocket
    Rocket
    Rocket
    Rocket
    Rocket
    Rocket
    UVa 10534 DP LIS Wavio Sequence
    LA 4256 DP Salesmen
    HDU 2476 区间DP String painter
    HDU 4283 区间DP You Are the One
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350334.html
Copyright © 2011-2022 走看看