话不多说,直接贴代码:
server
{
listen 2048;
server_name router.xnal.ml;
location / {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://192.168.123.1/;
}
}
Code language: PHP (php)
以上。
了解 Starx's Home 的更多信息
Subscribe to get the latest posts sent to your email.
0 条评论