server
{
listen 80;
#listen [::]:80;
server_name stock.aa.com ;
index index.html index.htm index.php default.html default.htm default.php;
location / {
proxy_pass http://test.aa.com:81;
proxy_set_header Y-REAL-IP $remote_addr;
}
access_log /home/wwwlogs/stock.aa.com.log;
#access_log /home/wwwlogs/stock.aa.com.log access;
}
~