http{
...
upstream tomcats_8080 {
server localhost:8080;
}
# include game.conf; 导入外部
server{
location /game/ {
proxy_pass http://tomcats_8080;
}
}
}
nginx > proxy_pass : upstream
最新推荐文章于 2025-05-27 09:26:22 发布