zoukankan
html css js c++ java
nginx 80 端口 部署多个Web
1.修改默认nginx.conf 文件
加入 include /usr/www/ngconfs/*.conf;
读取ngconfs文件下所有 *.conf文件
2.ngconfs 下多个文件创建
第二步骤主要在于 监听80端口
网站背后对应实际网站问端口4302,从而实现公用80端口 部署多个网站
location / {
proxy_pass http://localhost:4302/;
}
3.重启nginx 输入命令nginx -s reload
查看全文
相关阅读:
错误 com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value
mysql数据库
c程序语言设计
第二十四天 注解 和 异常
第二十三天 泛型
第二十二天 集合
php tostring用法
thinkphp批量添加水印
thinkphp fetchSql
php钩子是什么意思
原文地址:https://www.cnblogs.com/richard1015/p/9487129.html
最新文章
spingcloud(8) gateway
springcloud(4) Sleuth分布式链路追踪
springcloud(6) nacos配置管理
springcloud(5) nacos服务注册和发现
转载:springcloud 第六章 服务消费者(ZUUL)
转载:springcloud 第五章 熔断器 ( HYSTRIX)
A40i 双lvds 配置
A40i Android7 支持隐藏导航栏
V3S 基于 BSP 的squashfs + overlay 支持w25q256 32M nor flash
全志 A40i alsalib 关于 -EPIPE 错误
热门文章
A64 I2S调试
全志A64 QT移植
GitLab 基本操作
centos7.3 gitlab 安装配置
centos7.3 vsftpd 多用户配置
端口映射功能
python3
python2
python入门
问题框架
Copyright © 2011-2022 走看看