1、下载nginx
下载地址:http://nginx.org/en/download.html
2、启动nginx
启动命令:start nginx
停止名称:nginx.exe -s stop
重新载入:nginx.exe -s reload
双击启动时一闪而过,也没启动,可能conf配置中默认的端口80被占用了
3、修改nginx的配置文件nginx.conf
SpringBoot+Nginx 负载均衡搭建
重新载入即可
页面多次调用一个接口,实际效果如下图所示:
SpringBoot+Nginx 负载均衡搭建

相关文章:

  • 2021-08-31
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
猜你喜欢
  • 2021-12-07
  • 2021-07-16
  • 2021-10-05
  • 2021-05-15
  • 2021-11-06
  • 2021-06-17
相关资源
相似解决方案