Skip to content

Nginx(用于本地开发的静态资源代理以及服务反代)

Notifications You must be signed in to change notification settings

behappy-gulimall/behappy-gulimall-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

欢迎“一键三连[watch,fork,star]”

技术沟通群

behappy-gulimall-nginx

Nginx(静态资源代理以及后端反代)- docker版本

配置

  • 修改gulimall.conf下的server_name,这里需要你的支付回调所用到的地址
  • 修改conf.d/upstream.conf,将地址改为宿主机/本机的地址
  • 修改host,host指向你的宿主机/虚拟机地址
127.0.0.1 gulimall.com
127.0.0.1 search.gulimall.com
127.0.0.1 item.gulimall.com
127.0.0.1 auth.gulimall.com
127.0.0.1 cart.gulimall.com
127.0.0.1 order.gulimall.com
127.0.0.1 member.gulimall.com
127.0.0.1 seckill.gulimall.com

启动

  • 在根目录执行docker-compose up -d

About

Nginx(用于本地开发的静态资源代理以及服务反代)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published