宝塔网站nginx反代代码

使用nginx1.17版本

server {
server_name xxxx.one xxxx.mom xxxx.com xxxx.com;
listen 80; # 监听80端口

location / {
proxy_pass http://64.123532523532/;
proxy_set_header Host $host;
}
}

server {
server_name xxxx.click;
listen 80; # 监听80端口

location / {
proxy_pass http://64.5745734574/;
proxy_set_header Host $host;
}
}

server {
server_name fsdfds.fasdfadsf;
listen 80; # 监听80端口

location / {
proxy_pass http://13462436436234/;
proxy_set_header Host $host;
}
}

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注