• nginx 配置模板

    nginx 配置模板,正常项目中使用的一些配置。 server { listen 80; server_name www.test.com; charset utf-8; access_log logs/access.log; root "E:/front"; proxy_set_header Host $host; set $uid "-"; # 存在值则赋值 if ( $http_cookie ~* "at_uvid=(\S+)(;.*|$)"){ set $uid $1; } location ^~/test-business { proxy_pass http://127.0.0.1:8080; break; }

    0
    553
    2KB
    2017-12-21
    48
上传资源赚积分or赚钱