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不能進行轉發導致鏈接 ...