标签:lin location ati access install -- cat with linu
#监控
location /status {
stub_status on;
access_log off;
}
#代理
location / {
proxy_pass http://10.1.2.170:8081/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
#linux 重新编译
./configure --with-http_stub_status_module
make
make install
标签:lin location ati access install -- cat with linu
原文地址:http://www.cnblogs.com/stweixiao/p/7826459.html