启动nginx
配置 hosts
在 /mydata/nginx/conf/conf.d 目录下,复制一份default.conf 名为 gulimall.conf
修改gulimall.conf
一定记得加 “;” 分号结尾
proxy_pass http://192.168.150.1:12000;
重启 nginx
gulimall.com就访问到了首页
启动nginx
配置 hosts
在 /mydata/nginx/conf/conf.d 目录下,复制一份default.conf 名为 gulimall.conf
修改gulimall.conf
一定记得加 “;” 分号结尾
proxy_pass http://192.168.150.1:12000;
重启 nginx
gulimall.com就访问到了首页