本地nginx代理多个子域名,统一使用80端口,避免跨域
80端口占用
查看占用端口的pid
netstat -ano
查看占用端口的程序
参考文档https://blog.youkuaiyun.com/kaishizige/article/details/86485946
管理员模式打开cmd
Sc config http start= disabled
重启系统,netstat -ano 确认80端口是否占用
win10 启动nginx
start nginx # 查看logs 确认异常
nginx配置文件
test1.xxx.com ..
原创
2021-02-05 13:44:22 ·
1549 阅读 ·
0 评论