1.nginx.conf ...
后端服务路径: . . . : . . . : 前端目录 html css js : root apps mzsg web 修改 etc nginx.conf,注释掉nginx默认网站配置 include etc nginx conf.d .conf include etc nginx sites enabled 在 etc nginx conf.d目录下面新建配置文件,建议以网站简称全名,如mz ...
2016-06-28 15:05 3 27158 推荐指数:
1.nginx.conf ...
...
前端nginx部署,后端springboot框架,前端和后端都要做相应的ssl加密部署。 1.生成证书 适用于测试阶段,正常情况下,证书应该向发证CA机构申请。 生成证书密钥库 查看密钥库 导出证书文件,本质是CERTIFICATE 生成证书密钥文件:本质是私钥 ...
nginx配置vue 有全静态化 与 vue自己的应用端口 两种方式 以下是nginx跳转到vue自己的端口 https://www.jianshu.com/p/b7bd0d352db7 以下是全静态化 https://www.jianshu.com/p/2cdc2319bf26 ...
环境 Windows 10 SpringBoot 1.5.20 Vue 2.5.2 Nginx 1.12.2 OpenSSL-Win64 下载 Nginx官网下载:http://nginx.org/en/download.html 解压如下所示: 运行 cmd切换到nginx目录 ...
系统启动Nginx后,报 [emerg] bind() to 0.0.0.0:XXXX failed (13: Permission denied)错误的处理方式,分为两种: 第一种:端口小于1024的情况:[emerg] bind() to 0.0.0.0:80 failed (13 ...
服务器内部起了2个websocket服务,分别监听8100、8101端口nginx根据访问不同的location,选择代理到那个ws服务商 /websocket/是个内部location,直接访问会报错 参考链接: http://www.cnblogs.com ...
在本地测试通过的socket,再放到现在的有nginx代理之后发现会报:failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED这样的错误。分析原因可能nginx代理https的时候wss不能进行转发导致链接 ...