http{
...
upstream tomcats_8080 {
server localhost:8080;
}
# include game.conf; 导入外部
server{
location /game/ {
proxy_pass http://tomcats_8080;
}
}
}
nginx > proxy_pass : upstream
最新推荐文章于 2024-06-06 17:28:51 发布