nginx做代理转发
server {
listen 80;
# Load configuration files for the default server block.
location / {
proxy_pass http://www.baidu.com; #转发的地址
proxy_buffering off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
}
}