使用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;
}
}