ngx_http_proxy_module模块:
server {
listen
server_name
location / {
proxy_pass http://192.168.3.7:80/;
}
格式 :
location /url {
proxy_pass http://back_server:port/newurl;
/url --> /newurl