UNPKG

catproxy

Version:

a node proxy or host change tools

372 lines (165 loc) 12.3 kB
<!DOCTYPE HTML> <html lang="zh-hans" > <head> <meta charset="UTF-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>命令说明 · catproxy</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="description" content=""> <meta name="generator" content="GitBook 3.2.2"> <meta name="author" content="jianxcao"> <link rel="stylesheet" href="../gitbook/style.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css"> <meta name="HandheldFriendly" content="true"/> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png"> <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon"> <link rel="next" href="manager.html" /> <link rel="prev" href="install.html" /> </head> <body> <div class="book"> <div class="book-summary"> <div id="book-search-input" role="search"> <input type="text" placeholder="输入并搜索" /> </div> <nav role="navigation"> <ul class="summary"> <li class="chapter " data-level="1.1" data-path="../"> <a href="../"> Read Me </a> </li> <li class="chapter " data-level="1.2" data-path="install.html"> <a href="install.html"> 安装 </a> </li> <li class="chapter active" data-level="1.3" data-path="cmd.html"> <a href="cmd.html"> 命令说明 </a> </li> <li class="chapter " data-level="1.4" data-path="manager.html"> <a href="manager.html"> ui配置界面说明 </a> <ul class="articles"> <li class="chapter " data-level="1.4.1" data-path="rule.html"> <a href="rule.html"> 规则配置说明 </a> </li> </ul> </li> <li class="chapter " data-level="1.5" data-path="moniter.html"> <a href="moniter.html"> ui监控界面说明 </a> </li> <li class="chapter " data-level="1.6" data-path="https.html"> <a href="https.html"> https说明 </a> </li> <li class="chapter " data-level="1.7" data-path="updateInfo.html"> <a href="updateInfo.html"> 更新日志 </a> </li> <li class="divider"></li> <li> <a href="https://www.gitbook.com" target="blank" class="gitbook-link"> 本书使用 GitBook 发布 </a> </li> </ul> </nav> </div> <div class="book-body"> <div class="body-inner"> <div class="book-header" role="navigation"> <!-- Title --> <h1> <i class="fa fa-circle-o-notch fa-spin"></i> <a href=".." >命令说明</a> </h1> </div> <div class="page-wrapper" tabindex="-1" role="main"> <div class="page-inner"> <div id="book-search-results"> <div class="search-noresults"> <section class="normal markdown-section"> <h1 id="&#x547D;&#x4EE4;&#x8BF4;&#x660E;">&#x547D;&#x4EE4;&#x8BF4;&#x660E;</h1> <h2 id="catproxy--h">catproxy -h</h2> <p>&#x5E2E;&#x52A9;&#x547D;&#x4EE4;&#xFF0C;&#x4E3B;&#x8981;&#x662F;&#x67E5;&#x770B;&#x5E2E;&#x52A9;</p> <h2 id="catproxy--v">catproxy -v</h2> <p>&#x67E5;&#x770B;&#x5F53;&#x524D;&#x7248;&#x672C;&#x53F7;&#x7801;</p> <h2 id="catproxy--l">catproxy -l</h2> <p>&#x65E5;&#x5FD7;&#x57FA;&#x672C;&#x4FEE;&#x6539;&#xFF0C;&#x65E5;&#x5FD7;&#x7EA7;&#x522B;&#x6709;error, warn, info, verbose, debug, silly</p> <h2 id="catproxy--t">catproxy -t</h2> <p>&#x670D;&#x52A1;&#x5668;&#x542F;&#x52A8;&#x7C7B;&#x522B;&#x4FEE;&#x6539;&#xFF0C;&#x9ED8;&#x8BA4;&#x670D;&#x52A1;&#x5668;&#x7C7B;&#x522B;http&#xFF0C;&#x7C7B;&#x522B;&#x6709;http,https,all</p> <p>all &#x8868;&#x793A;http&#x548C;https&#x540C;&#x65F6;&#x5F00;&#x542F;</p> <h2 id="catproxy--p">catproxy -p</h2> <p>&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x53E3;&#x4FEE;&#x6539;, &#x9ED8;&#x8BA4;&#x7AEF;&#x53E3;http&#x662F;80,https&#x662F;443 &#x7AEF;&#x53E3;&#x7528;<code>,</code>&#x5206;&#x5272;&#xFF0C;&#x4E00;&#x4E2A;&#x8868;&#x793A;http&#x7AEF;&#x53E3;&#xFF0C;&#x7B2C;&#x4E8C;&#x4E2A;&#x8868;&#x793A;https&#x7AEF;&#x53E3;</p> <h2 id="catproxy--u">catproxy -u</h2> <p>&#x670D;&#x52A1;&#x5668;ui&#x7AEF;&#x53E3;&#x4FEE;&#x6539;</p> <h2 id="catproxy---autoopen">catproxy --autoOpen</h2> <p>&#x662F;&#x5426;&#x5728;&#x5F00;&#x542F;&#x540E;&#x81EA;&#x52A8;&#x6253;&#x5F00;ui&#x9875;&#x9762; true|false</p> <h2 id="catproxy---weinreport">catproxy --weinrePort</h2> <p>weinre&#x8C03;&#x8BD5;&#x5DE5;&#x5177;&#x7684;&#x7AEF;&#x53E3;&#x53F7;&#x7801;</p> <h2 id="catproxy--c">catproxy -c</h2> <p>&#x8BC1;&#x4E66;&#x751F;&#x6210;&#x547D;&#x4EE4;&#xFF0C;&#x8BC1;&#x4E66;&#x76F8;&#x5173;&#x8BF7;&#x770B;<a href="https.html">https</a></p> <h2 id="catproxy--b">catproxy -b</h2> <p>&#x662F;&#x5426;&#x62E6;&#x622A;https&#x8BF7;&#x6C42;&#xFF0C;&#x6CE8;&#x610F;&#x5982;&#x679C;&#x4E0D;&#x62E6;&#x622A;https&#x8BF7;&#x6C42;&#xFF0C;&#x8BE5;&#x5DE5;&#x5177;&#x5C06;&#x53EA;&#x662F;&#x8F6C;&#x53D1;https&#x8BF7;&#x6C42;&#xFF0C;&#x5C06;&#x4E0D;&#x4F1A;&#x505A;&#x4EFB;&#x4F55;&#x7684;&#x64CD;&#x4F5C;</p> <h2 id="catproxy--s">catproxy -s</h2> <p>&#x662F;&#x5426;&#x4F7F;&#x7528;nodejs&#x7684;sni,1&#x8868;&#x793A;&#x4F7F;&#x7528;&#xFF0C;2&#x8868;&#x793A;&#x591A;&#x53F0;&#x670D;&#x52A1;&#x5668;</p> </section> </div> <div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> </div> </div> </div> <a href="install.html" class="navigation navigation-prev " aria-label="Previous page: 安装"> <i class="fa fa-angle-left"></i> </a> <a href="manager.html" class="navigation navigation-next " aria-label="Next page: ui配置界面说明"> <i class="fa fa-angle-right"></i> </a> </div> <script> var gitbook = gitbook || []; gitbook.push(function() { gitbook.page.hasChanged({"page":{"title":"命令说明","level":"1.3","depth":1,"next":{"title":"ui配置界面说明","level":"1.4","depth":1,"path":"docs/manager.md","ref":"docs/manager.md","articles":[{"title":"规则配置说明","level":"1.4.1","depth":2,"path":"docs/rule.md","ref":"docs/rule.md","articles":[]}]},"previous":{"title":"安装","level":"1.2","depth":1,"path":"docs/install.md","ref":"docs/install.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","prism","-highlight","github","-search","search-pro","splitter","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{},"github":{"url":"https://github.com/jianxcao/catproxy"},"livereload":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/jianxcao/catproxy/tree/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"summary":"docs/README.md","theme":"default","author":"jianxcao","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"catproxy","language":"zh-hans","gitbook":"3.2.2"},"file":{"path":"docs/cmd.md","mtime":"2017-05-19T09:53:26.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-06-02T08:54:00.691Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> <script src="../gitbook/gitbook.js"></script> <script src="../gitbook/theme.js"></script> <script src="../gitbook/gitbook-plugin-edit-link/plugin.js"></script> <script src="../gitbook/gitbook-plugin-github/plugin.js"></script> <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script> <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script> <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script> <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script> <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script> <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script> <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script> <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script> </body> </html>