跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • nginx 统计 server_name 对应的 upstream 节点 server 明细信息
未分類
26 10 月 2020

nginx 统计 server_name 对应的 upstream 节点 server 明细信息

nginx 统计 server_name 对应的 upstream 节点 server 明细信息

資深大佬 : Achilless 0

upstream main {

  server web1.local:80;   server web2.local:80;   server web3.local:80; }   server {   listen 80;   server_name example.com;   location / {     proxy_pass http://main;   } }  比如这个所有的 server 在一个文件夹,upstream 在一个文件夹,每 server 和 upstream 对应一个 conf 文件,这样的文件有上千个。  现在想到的是 python 文本处理提取,但是感觉会有很多坑 有什么简单的方法统计吗 

大佬有話說 (0)

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具