zhoading

nginx监听一个端口多域名转发配置

https://blog.csdn.net/bolg_hero/article/details/42105987?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_title~default-0.no_search_link&spm=1001.2101.3001.4242.1

 

https://www.cnblogs.com/goloving/p/9363490.html

 

server{
listen 80;
server_name www.525.life;
location / {
#....
proxy_pass http://localhost:8880;
}
##### other directive
}

server{
listen 80;
server_name admin.525.life;
location / {
#....
proxy_pass http://localhost:8881;
}
##### other directive
}

分类:

技术点:

相关文章:

  • 2021-11-30
  • 2021-11-28
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-18
  • 2021-12-01
猜你喜欢
  • 2021-11-23
  • 2021-12-05
  • 2021-07-06
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案