nginx測試小結
阿新 • • 發佈:2018-10-31
最近在工作當中需要使用nginx,就對nginx進行進一步的瞭解,測試。
工作需求是在微服務架構的基礎上,客戶端通過nginx反向代理訪問服務端,確保當一個服務端出現問題時能及時切換到正常工作的服務端。測試使用nginx-1.13.2.rar,官網地址為:http://www.nginx.org/;測試使用的ip服務端為:10.74.214.109:8088、10.74.214.109:8091,服務端啟動時的埠為8090;程式首頁的路徑為:"D:\cloudCode\internet\CoreToolWebPortal\01.CoreToolWebPotalWeb"下的index.html檔案 將nginx解壓包放在C盤根目錄下: 編輯修改nginx.conf檔案,如下: #Nginx使用者組。windows下不指定; #user nobody;