rule 发表于 2018-11-18 10:16:19

apache、nginx各种伪静态设置

set $h '';  
      if ($host = "store.abart.com") {
  
                set $h P;
  
      }
  
      if ($host != 'store.abart.com.cn') {
  
                set $h "${h}C";
  
      }
  
      if ($h = PC) {
  
                rewrite ^(.*)$https://$host permanent;
  
      }


页: [1]
查看完整版本: apache、nginx各种伪静态设置