nginx反向代理配置

location / {

    proxy_pass http://10.110.21.22:8080;

    proxy_set_header Host $http_host;

    proxy_set_header X-Real-IP $remote_addr;

    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

}

上一篇:mysql常用函数

下一篇:mysql临时表的使用