[{"data":1,"prerenderedAt":812},["ShallowReactive",2],{"navigation_docs":3,"-classroom-basics-http-vhost":567,"-classroom-basics-http-vhost-surround":807},[4,9,14,41,272,288,390,525,557,562],{"title":5,"path":6,"stem":7,"icon":8},"首页","\u002Fwhat-is-lolia","01.what-is-lolia","i-lucide-house",{"title":10,"path":11,"stem":12,"icon":13},"文档用法","\u002Fhow-to-read-the-docs","02.how-to-read-the-docs","i-lucide-sparkles",{"title":15,"icon":16,"path":17,"stem":18,"children":19,"page":40},"导览","i-lucide-scroll-text","\u002Foverview","03.overview",[20,25,30,35],{"title":21,"path":22,"stem":23,"icon":24},"入门阅读","\u002Foverview\u002Fintroduction","03.overview\u002F1.introduction","i-lucide-book",{"title":26,"path":27,"stem":28,"icon":29},"安全提示","\u002Foverview\u002Fsecurity","03.overview\u002F2.security","i-lucide-shield-alert",{"title":31,"path":32,"stem":33,"icon":34},"实名认证","\u002Foverview\u002Fkyc","03.overview\u002F3.kyc","i-lucide-user-check",{"title":36,"path":37,"stem":38,"icon":39},"大流量内容","\u002Foverview\u002Fbig-traffic-contents","03.overview\u002F4.big-traffic-contents","i-lucide-zap",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"配置指南","i-lucide-sliders-horizontal","\u002Ftutorials","04.tutorials",[47,59,81,156,166,217,246],{"title":48,"path":49,"stem":50,"children":51,"icon":58},"开始之前","\u002Ftutorials\u002Fbefore-start","04.tutorials\u002F1.before-start\u002F1.index",[52,54],{"title":53,"path":49,"stem":50},"前言",{"title":55,"path":56,"stem":57},"基本操作","\u002Ftutorials\u002Fbefore-start\u002Fbasics","04.tutorials\u002F1.before-start\u002F2.basics","i-lucide-send-horizontal",{"title":60,"icon":61,"path":62,"stem":63,"children":64,"page":40},"面板","i-lucide-panels-top-left","\u002Ftutorials\u002Fdashboard","04.tutorials\u002F2.dashboard",[65,69,73,77],{"title":66,"path":67,"stem":68},"仪表盘","\u002Ftutorials\u002Fdashboard\u002Fmainpage","04.tutorials\u002F2.dashboard\u002F1.mainpage",{"title":70,"path":71,"stem":72},"隧道创建","\u002Ftutorials\u002Fdashboard\u002Fcreate-tunnel","04.tutorials\u002F2.dashboard\u002F2.create-tunnel",{"title":74,"path":75,"stem":76},"隧道管理","\u002Ftutorials\u002Fdashboard\u002Ftunnel-management","04.tutorials\u002F2.dashboard\u002F3.tunnel-management",{"title":78,"path":79,"stem":80},"域名白名单","\u002Ftutorials\u002Fdashboard\u002Fdomain-whitelist","04.tutorials\u002F2.dashboard\u002F4.domain-whitelist",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":40},"客户端教程","i-lucide-laptop","\u002Ftutorials\u002Fclient","04.tutorials\u002F3.client",[87,112,132,144,148,152],{"title":88,"path":89,"stem":90,"children":91,"page":40},"Lolia-CLI","\u002Ftutorials\u002Fclient\u002Flolia-frpc","04.tutorials\u002F3.client\u002F1.lolia-frpc",[92,96,100,104,108],{"title":93,"path":94,"stem":95},"简介","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fintroduction","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F1.introduction",{"title":97,"path":98,"stem":99},"Docker 部署","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fdocker","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F2.docker",{"title":101,"path":102,"stem":103},"systemd 自启动","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fsystemd","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F3.systemd",{"title":105,"path":106,"stem":107},"Windows 服务","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fwindows-service","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F4.windows-service",{"title":109,"path":110,"stem":111},"OpenWrt 自启动","\u002Ftutorials\u002Fclient\u002Flolia-frpc\u002Fopenwrt","04.tutorials\u002F3.client\u002F1.lolia-frpc\u002F5.openwrt",{"title":113,"path":114,"stem":115,"children":116,"page":40},"LoliaFrpClient","\u002Ftutorials\u002Fclient\u002Floliafrpclient","04.tutorials\u002F3.client\u002F2.loliafrpclient",[117,120,124,128],{"title":93,"path":118,"stem":119},"\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fintroduction","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F1.introduction",{"title":121,"path":122,"stem":123},"Windows","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fwindows","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F2.Windows",{"title":125,"path":126,"stem":127},"Linux","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Flinux","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F3.Linux",{"title":129,"path":130,"stem":131},"Android","\u002Ftutorials\u002Fclient\u002Floliafrpclient\u002Fandroid","04.tutorials\u002F3.client\u002F2.loliafrpclient\u002F4.Android",{"title":133,"path":134,"stem":135,"children":136,"page":40},"LoliaShizuku","\u002Ftutorials\u002Fclient\u002Floliashizuku","04.tutorials\u002F3.client\u002F3.loliashizuku",[137,140],{"title":93,"path":138,"stem":139},"\u002Ftutorials\u002Fclient\u002Floliashizuku\u002Floliashizuku","04.tutorials\u002F3.client\u002F3.loliashizuku\u002F1.loliashizuku",{"title":141,"path":142,"stem":143},"快速入门","\u002Ftutorials\u002Fclient\u002Floliashizuku\u002Fusage","04.tutorials\u002F3.client\u002F3.loliashizuku\u002F2.usage",{"title":145,"path":146,"stem":147},"Kairo","\u002Ftutorials\u002Fclient\u002Fkairo","04.tutorials\u002F3.client\u002F4.kairo",{"title":149,"path":150,"stem":151},"MCSManager FRP模板","\u002Ftutorials\u002Fclient\u002Fmcsm","04.tutorials\u002F3.client\u002F5.mcsm",{"title":153,"path":154,"stem":155},"MSLX 面板插件","\u002Ftutorials\u002Fclient\u002Fmslx","04.tutorials\u002F3.client\u002F6.mslx",{"title":157,"icon":158,"path":159,"stem":160,"children":161,"page":40},"常见应用","i-lucide-toolbox","\u002Ftutorials\u002Fapp","04.tutorials\u002F4.app",[162],{"title":163,"path":164,"stem":165},"RDP 远程桌面","\u002Ftutorials\u002Fapp\u002Frdp","04.tutorials\u002F4.app\u002F1.rdp",{"title":167,"icon":168,"path":169,"stem":170,"children":171,"page":40},"游戏应用","i-lucide-gamepad-2","\u002Ftutorials\u002Fgame","04.tutorials\u002F5.game",[172,213],{"title":173,"path":174,"stem":175,"children":176,"page":40},"Minecraft","\u002Ftutorials\u002Fgame\u002Fminecraft","04.tutorials\u002F5.game\u002F1.minecraft",[177,181,185,189,193,197,201,205,209],{"title":178,"path":179,"stem":180},"Java 版局域网联机","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fmcjavalan","04.tutorials\u002F5.game\u002F1.minecraft\u002F1.mcjavalan",{"title":182,"path":183,"stem":184},"Java 版独立服务器","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fmcjavaserver","04.tutorials\u002F5.game\u002F1.minecraft\u002F2.mcjavaserver",{"title":186,"path":187,"stem":188},"Simple Voice Chat","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fsimplevoicechat","04.tutorials\u002F5.game\u002F1.minecraft\u002F3.simplevoicechat",{"title":190,"path":191,"stem":192},"外置登录联机教程","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fauthlib-injector","04.tutorials\u002F5.game\u002F1.minecraft\u002F4.authlib-injector",{"title":194,"path":195,"stem":196},"基岩版服务器（BDS）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fbedrock-nethernet","04.tutorials\u002F5.game\u002F1.minecraft\u002F5.bedrock-nethernet",{"title":198,"path":199,"stem":200},"旧版基岩版（RakNet）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fbedrock-raknet","04.tutorials\u002F5.game\u002F1.minecraft\u002F6.bedrock-raknet",{"title":202,"path":203,"stem":204},"Geyser 互通服","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fgeysermc","04.tutorials\u002F5.game\u002F1.minecraft\u002F7.geysermc",{"title":206,"path":207,"stem":208},"旧版 Geyser（RakNet）","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fgeyser-raknet","04.tutorials\u002F5.game\u002F1.minecraft\u002F8.geyser-raknet",{"title":210,"path":211,"stem":212},"SRV 解析","\u002Ftutorials\u002Fgame\u002Fminecraft\u002Fsrv-record","04.tutorials\u002F5.game\u002F1.minecraft\u002F9.srv-record",{"title":214,"path":215,"stem":216},"星露谷物语多人联机","\u002Ftutorials\u002Fgame\u002Fstardew-valley","04.tutorials\u002F5.game\u002F2.stardew-valley",{"title":218,"icon":219,"path":220,"stem":221,"children":222,"page":40},"网页应用","i-lucide-link-2","\u002Ftutorials\u002Fweb","04.tutorials\u002F6.web",[223,226,230,234,238,242],{"title":141,"path":224,"stem":225},"\u002Ftutorials\u002Fweb\u002Fquick-start","04.tutorials\u002F6.web\u002F1.quick-start",{"title":227,"path":228,"stem":229},"DNS 配置","\u002Ftutorials\u002Fweb\u002Fdns-config","04.tutorials\u002F6.web\u002F2.dns-config",{"title":231,"path":232,"stem":233},"Apache","\u002Ftutorials\u002Fweb\u002Fapache","04.tutorials\u002F6.web\u002F3.apache",{"title":235,"path":236,"stem":237},"NGINX","\u002Ftutorials\u002Fweb\u002Fnginx","04.tutorials\u002F6.web\u002F4.nginx",{"title":239,"path":240,"stem":241},"获取访客真实IP","\u002Ftutorials\u002Fweb\u002Fget-realip","04.tutorials\u002F6.web\u002F5.get-realip",{"title":243,"path":244,"stem":245},"雷池WAF","\u002Ftutorials\u002Fweb\u002Fsafeline","04.tutorials\u002F6.web\u002F6.safeline",{"title":247,"icon":248,"path":249,"stem":250,"children":251,"page":40},"进阶配置","i-lucide-file-cog","\u002Ftutorials\u002Fadvanced","04.tutorials\u002F7.advanced",[252,256,260,264,268],{"title":253,"path":254,"stem":255},"配置PROXY protocol","\u002Ftutorials\u002Fadvanced\u002Fproxy-protocol","04.tutorials\u002F7.advanced\u002F1.proxy-protocol",{"title":257,"path":258,"stem":259},"双栈网络配置","\u002Ftutorials\u002Fadvanced\u002Fmixed-v4-v6","04.tutorials\u002F7.advanced\u002F2.mixed-v4-v6",{"title":261,"path":262,"stem":263},"AutoTLS","\u002Ftutorials\u002Fadvanced\u002Fautotls","04.tutorials\u002F7.advanced\u002F3.autotls",{"title":265,"path":266,"stem":267},"多个隧道创建和使用","\u002Ftutorials\u002Fadvanced\u002Fmulti-tunnel","04.tutorials\u002F7.advanced\u002F4.multi-tunnel",{"title":269,"path":270,"stem":271},"使用自己的域名","\u002Ftutorials\u002Fadvanced\u002Fcname","04.tutorials\u002F7.advanced\u002F5.cname",{"title":273,"icon":274,"defaultOpen":40,"path":275,"stem":276,"children":277,"page":40},"开发者","i-lucide-folder-code","\u002Fdevelopers","05.developers",[278,283],{"title":279,"path":280,"stem":281,"icon":282},"LoliaFRP Open API","\u002Fdevelopers\u002Fopenapi","05.developers\u002F1.openapi","i-lucide-webhook",{"title":284,"path":285,"stem":286,"icon":287},"OAuth2 鉴权","\u002Fdevelopers\u002Foauth","05.developers\u002F2.oauth","i-lucide-fingerprint-pattern",{"title":289,"icon":290,"defaultOpen":40,"path":291,"stem":292,"children":293,"page":40},"疑难解答","i-lucide-bug-off","\u002Ftroubleshooting","06.troubleshooting",[294,319,329,338,359,372],{"title":48,"icon":295,"path":296,"stem":297,"children":298,"page":40},"i-lucide-list-checks","\u002Ftroubleshooting\u002Fbefore-start","06.troubleshooting\u002F1.before-start",[299,303,307,311,315],{"title":300,"path":301,"stem":302},"通用问题","\u002Ftroubleshooting\u002Fbefore-start\u002Fgeneral","06.troubleshooting\u002F1.before-start\u002F1.general",{"title":304,"path":305,"stem":306},"如何提问","\u002Ftroubleshooting\u002Fbefore-start\u002Fhow-to-ask-questions","06.troubleshooting\u002F1.before-start\u002F2.how-to-ask-questions",{"title":308,"path":309,"stem":310},"分析日志","\u002Ftroubleshooting\u002Fbefore-start\u002Fread-the-logs","06.troubleshooting\u002F1.before-start\u002F3.read-the-logs",{"title":312,"path":313,"stem":314},"定位问题","\u002Ftroubleshooting\u002Fbefore-start\u002Fclassify-questions","06.troubleshooting\u002F1.before-start\u002F4.classify-questions",{"title":316,"path":317,"stem":318},"平台限制","\u002Ftroubleshooting\u002Fbefore-start\u002Fplatform-limits","06.troubleshooting\u002F1.before-start\u002F5.platform-limits",{"title":320,"icon":321,"path":322,"stem":323,"children":324,"page":40},"客户端故障","i-custom-laptop-off","\u002Ftroubleshooting\u002Fclient","06.troubleshooting\u002F3.client",[325],{"title":326,"path":327,"stem":328},"杀软误报","\u002Ftroubleshooting\u002Fclient\u002Fanti-malware","06.troubleshooting\u002F3.client\u002Fanti-malware",{"title":157,"icon":330,"path":331,"stem":332,"children":333,"page":40},"i-custom-toolbox-off","\u002Ftroubleshooting\u002Fapp","06.troubleshooting\u002F4.app",[334],{"title":335,"path":336,"stem":337},"远程桌面","\u002Ftroubleshooting\u002Fapp\u002Frdp","06.troubleshooting\u002F4.app\u002F1.rdp",{"title":167,"icon":339,"path":340,"stem":341,"children":342,"page":40},"i-custom-gamepad-2-off","\u002Ftroubleshooting\u002Fgames","06.troubleshooting\u002F5.games",[343,347],{"title":344,"path":345,"stem":346},"Stardew Valley","\u002Ftroubleshooting\u002Fgames\u002Fstardew-valley","06.troubleshooting\u002F5.games\u002F2.stardew-valley",{"title":173,"path":348,"stem":349,"children":350,"page":40},"\u002Ftroubleshooting\u002Fgames\u002Fminecraft","06.troubleshooting\u002F5.games\u002Fminecraft",[351,355],{"title":352,"path":353,"stem":354},"Mc Lan","\u002Ftroubleshooting\u002Fgames\u002Fminecraft\u002Fmc-lan","06.troubleshooting\u002F5.games\u002Fminecraft\u002F1.mc-lan",{"title":356,"path":357,"stem":358},"Minecraft Java SRV与forced hosts搭配","\u002Ftroubleshooting\u002Fgames\u002Fminecraft\u002Fminecraft-srv-forced-hosts","06.troubleshooting\u002F5.games\u002Fminecraft\u002F1.minecraft-srv-forced-hosts",{"title":360,"icon":361,"path":362,"stem":363,"children":364,"page":40},"Web 应用","i-lucide-globe-off","\u002Ftroubleshooting\u002Fweb","06.troubleshooting\u002F6.web",[365,368],{"title":231,"path":366,"stem":367},"\u002Ftroubleshooting\u002Fweb\u002Fapache","06.troubleshooting\u002F6.web\u002F1.apache",{"title":369,"path":370,"stem":371},"Nginx","\u002Ftroubleshooting\u002Fweb\u002Fnginx","06.troubleshooting\u002F6.web\u002F2.nginx",{"title":373,"icon":374,"path":375,"stem":376,"children":377,"page":40},"网络问题","i-lucide-wifi-off","\u002Ftroubleshooting\u002Fnetwork","06.troubleshooting\u002F8.network",[378,382,386],{"title":379,"path":380,"stem":381},"无法连接服务器","\u002Ftroubleshooting\u002Fnetwork\u002Fremote","06.troubleshooting\u002F8.network\u002F1.remote",{"title":383,"path":384,"stem":385},"无法连接至本地服务","\u002Ftroubleshooting\u002Fnetwork\u002Flocal","06.troubleshooting\u002F8.network\u002F2.local",{"title":387,"path":388,"stem":389},"网络卡顿","\u002Ftroubleshooting\u002Fnetwork\u002Flags","06.troubleshooting\u002F8.network\u002F3.lags",{"title":391,"icon":392,"defaultOpen":40,"path":393,"stem":394,"children":395,"page":40},"用户手册","i-lucide-book-bookmark","\u002Freferences","07.references",[396,453,480,513],{"title":397,"icon":61,"path":398,"stem":399,"children":400,"page":40},"网页控制台","\u002Freferences\u002Fplatform","07.references\u002F1.platform",[401,404,415,423,440],{"title":66,"path":402,"stem":403},"\u002Freferences\u002Fplatform\u002Fdashboard","07.references\u002F1.platform\u002F1.dashboard",{"title":405,"path":406,"stem":407,"children":408,"page":40},"隧道","\u002Freferences\u002Fplatform\u002Ftunnel","07.references\u002F1.platform\u002F2.tunnel",[409,412],{"title":74,"path":410,"stem":411},"\u002Freferences\u002Fplatform\u002Ftunnel\u002Ftunnel-management","07.references\u002F1.platform\u002F2.tunnel\u002F1.tunnel-management",{"title":70,"path":413,"stem":414},"\u002Freferences\u002Fplatform\u002Ftunnel\u002Fcreate-tunnel","07.references\u002F1.platform\u002F2.tunnel\u002F2.create-tunnel",{"title":416,"path":417,"stem":418,"children":419,"page":40},"域名管理","\u002Freferences\u002Fplatform\u002Fdomain-management","07.references\u002F1.platform\u002F3.domain-management",[420],{"title":78,"path":421,"stem":422},"\u002Freferences\u002Fplatform\u002Fdomain-management\u002Fwhitelist","07.references\u002F1.platform\u002F3.domain-management\u002F1.whitelist",{"title":424,"path":425,"stem":426,"children":427,"page":40},"OAuth","\u002Freferences\u002Fplatform\u002Foauth","07.references\u002F1.platform\u002F4.oauth",[428,432,436],{"title":429,"path":430,"stem":431},"应用管理","\u002Freferences\u002Fplatform\u002Foauth\u002Fapp-management","07.references\u002F1.platform\u002F4.oauth\u002F1.app-management",{"title":433,"path":434,"stem":435},"创建应用","\u002Freferences\u002Fplatform\u002Foauth\u002Fcreate-app","07.references\u002F1.platform\u002F4.oauth\u002F2.create-app",{"title":437,"path":438,"stem":439},"授权管理","\u002Freferences\u002Fplatform\u002Foauth\u002Fauthorizations","07.references\u002F1.platform\u002F4.oauth\u002F3.authorizations",{"title":441,"path":442,"stem":443,"children":444,"page":40},"账户设置","\u002Freferences\u002Fplatform\u002Fsettings","07.references\u002F1.platform\u002F5.settings",[445,449],{"title":446,"path":447,"stem":448},"基础设置","\u002Freferences\u002Fplatform\u002Fsettings\u002Fsettings","07.references\u002F1.platform\u002F5.settings\u002F1.settings",{"title":450,"path":451,"stem":452},"安全性","\u002Freferences\u002Fplatform\u002Fsettings\u002Fsecurity","07.references\u002F1.platform\u002F5.settings\u002F2.security",{"title":454,"icon":455,"path":456,"stem":457,"children":458},"命令行客户端","i-lucide-square-terminal","\u002Freferences\u002Flolia-frpc","07.references\u002F2.lolia-frpc\u002Findex",[459,461,465,469,472,476],{"title":460,"path":456,"stem":457},"概览",{"title":462,"path":463,"stem":464},"启动与连接","\u002Freferences\u002Flolia-frpc\u002Fstartup","07.references\u002F2.lolia-frpc\u002F2.startup",{"title":466,"path":467,"stem":468},"参数与子命令","\u002Freferences\u002Flolia-frpc\u002Fflags","07.references\u002F2.lolia-frpc\u002F3.flags",{"title":261,"path":470,"stem":471},"\u002Freferences\u002Flolia-frpc\u002Fautotls","07.references\u002F2.lolia-frpc\u002F4.autotls",{"title":473,"path":474,"stem":475},"运行与诊断","\u002Freferences\u002Flolia-frpc\u002Fruntime","07.references\u002F2.lolia-frpc\u002F5.runtime",{"title":477,"path":478,"stem":479},"构建与发布","\u002Freferences\u002Flolia-frpc\u002Frelease","07.references\u002F2.lolia-frpc\u002F6.release",{"title":481,"icon":482,"path":483,"stem":484,"children":485,"page":40},"图形化客户端","i-lucide-app-window-mac","\u002Freferences\u002Fgui","07.references\u002F3.gui",[486,502,510],{"title":113,"path":487,"stem":488,"children":489,"page":40},"\u002Freferences\u002Fgui\u002Floliafrpclient","07.references\u002F3.gui\u002F1.loliafrpclient",[490,493,496,499],{"title":93,"path":491,"stem":492},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fintroduction","07.references\u002F3.gui\u002F1.loliafrpclient\u002F1.introduction",{"title":121,"path":494,"stem":495},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fwindows","07.references\u002F3.gui\u002F1.loliafrpclient\u002F2.Windows",{"title":125,"path":497,"stem":498},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Flinux","07.references\u002F3.gui\u002F1.loliafrpclient\u002F3.Linux",{"title":129,"path":500,"stem":501},"\u002Freferences\u002Fgui\u002Floliafrpclient\u002Fandroid","07.references\u002F3.gui\u002F1.loliafrpclient\u002F4.Android",{"title":133,"path":503,"stem":504,"children":505,"page":40},"\u002Freferences\u002Fgui\u002Floliashizuku","07.references\u002F3.gui\u002F2.loliashizuku",[506],{"title":507,"path":508,"stem":509},"桌面端功能","\u002Freferences\u002Fgui\u002Floliashizuku\u002Fusage","07.references\u002F3.gui\u002F2.loliashizuku\u002F2.usage",{"title":145,"path":511,"stem":512},"\u002Freferences\u002Fgui\u002Fkairo","07.references\u002F3.gui\u002F3.kairo",{"title":514,"icon":515,"path":516,"stem":517,"children":518,"page":40},"面板客户端","i-lucide-app-window","\u002Freferences\u002Fweb","07.references\u002F4.web",[519,522],{"title":149,"path":520,"stem":521},"\u002Freferences\u002Fweb\u002Fmcsm","07.references\u002F4.web\u002F1.mcsm",{"title":153,"path":523,"stem":524},"\u002Freferences\u002Fweb\u002Fmslx","07.references\u002F4.web\u002F2.mslx",{"title":526,"icon":527,"defaultOpen":40,"path":528,"stem":529,"children":530,"page":40},"扩展阅读","i-lucide-school","\u002Fclassroom","08.classroom",[531,535],{"title":93,"path":532,"stem":533,"icon":534},"\u002Fclassroom\u002Fabout","08.classroom\u002F1.about","i-lucide-text-initial",{"title":536,"icon":537,"path":538,"stem":539,"children":540,"page":40},"相关原理","i-lucide-library","\u002Fclassroom\u002Fbasics","08.classroom\u002F2.basics",[541,545,549,553],{"title":542,"path":543,"stem":544},"frp 的工作基础","\u002Fclassroom\u002Fbasics\u002Ffrp-base","08.classroom\u002F2.basics\u002F1.frp-base",{"title":546,"path":547,"stem":548},"TLS 与证书","\u002Fclassroom\u002Fbasics\u002Ftls","08.classroom\u002F2.basics\u002F2.tls",{"title":550,"path":551,"stem":552},"密码学基础","\u002Fclassroom\u002Fbasics\u002Fcrypto","08.classroom\u002F2.basics\u002F3.crypto",{"title":554,"path":555,"stem":556},"HTTP 虚拟主机","\u002Fclassroom\u002Fbasics\u002Fhttp-vhost","08.classroom\u002F2.basics\u002F4.http-vhost",{"title":558,"path":559,"stem":560,"icon":561},"参与贡献","\u002Fcontributing","09.contributing","i-lucide-git-pull-request-arrow",{"title":563,"path":564,"stem":565,"icon":566},"社区","\u002Fcommunity","10.community","i-lucide-users",{"id":568,"title":554,"body":569,"description":800,"extension":801,"links":802,"meta":803,"navigation":804,"path":555,"seo":805,"stem":556,"__hash__":806},"docs\u002F08.classroom\u002F2.basics\u002F4.http-vhost.md",{"type":570,"value":571,"toc":789},"minimark",[572,584,589,611,614,618,621,671,680,684,698,702,708,711,730,734,739,746,750,758,765,769],[573,574,575,576,580,581,583],"tip",{},"本文只讲原理。域名验证见",[577,578,78],"a",{"href":579},"\u002Ftutorials\u002Fdashboard\u002Fwhitelist","，隧道本身见",[577,582,70],{"href":71},"。",[585,586,588],"h2",{"id":587},"_1-一个端口怎么服务多个站点","1. 一个端口怎么服务多个站点",[590,591,592,593,597,598,601,602,605,606,610],"p",{},"按端口分隧道时，一条隧道占一个远程端口，访客连 ",[594,595,596],"code",{},"节点:端口"," 即可。但 80 与 443 只有一个，不可能每条隧道各分一个，于是 ",[594,599,600],{},"HTTP","\u002F",[594,603,604],{},"HTTPS"," 隧道改成按",[607,608,609],"strong",{},"域名","区分：所有 HTTP 隧道共用节点的 80，所有 HTTPS 隧道共用 443，节点看请求里的域名决定交给哪条隧道。",[590,612,613],{},"这就是虚拟主机（vhost）：同一组地址与端口上挂着多个站点。",[585,615,617],{"id":616},"_2-host-与-sni","2. Host 与 SNI",[590,619,620],{},"区分域名靠两处信息，取决于请求是明文还是加密：",[622,623,624,640],"table",{},[625,626,627],"thead",{},[628,629,630,634,637],"tr",{},[631,632,633],"th",{},"请求",[631,635,636],{},"读哪里",[631,638,639],{},"是否加密",[641,642,643,659],"tbody",{},[628,644,645,650,656],{},[646,647,648],"td",{},[594,649,600],{},[646,651,652,653],{},"请求头里的 ",[594,654,655],{},"Host",[646,657,658],{},"明文",[628,660,661,665,668],{},[646,662,663],{},[594,664,604],{},[646,666,667],{},"握手第一个包里的 SNI",[646,669,670],{},"仅这一段明文",[590,672,673,675,676,679],{},[594,674,604],{}," 隧道不做解密：节点只读 ",[594,677,678],{},"ClientHello"," 里的 SNI 决定交给谁，之后整条连接原样透传给 frpc。",[585,681,683],{"id":682},"_3-80-与-443-是两套-vhost","3. 80 与 443 是两套 vhost",[590,685,686,688,689,691,692,694,695,697],{},[594,687,600],{}," 与 ",[594,690,604],{}," 在节点上分开处理，互不占用：同一个域名可以同时有一条 ",[594,693,600],{}," 隧道和一条 ",[594,696,604],{}," 隧道，分别落在 80 和 443 上，它们不会因为域名相同而冲突。",[585,699,701],{"id":700},"_4-一个域名只能对应一个同类型后端","4. 一个域名只能对应一个同类型后端",[590,703,704,705,583],{},"同一个节点上，同一个域名在同一套 vhost 里只能有一个后端。再启动一条同类型、同域名的隧道时，节点无法判断该把请求交给谁，日志会报 ",[594,706,707],{},"router config conflict",[590,709,710],{},"不算冲突的情况：",[712,713,714,724,727],"ul",{},[715,716,717,718,720,721,723],"li",{},"同域名、不同协议：一条 ",[594,719,600],{},"、一条 ",[594,722,604],{},"，各占各的表",[715,725,726],{},"同域名、不同节点：每个节点有各自的 vhost 表",[715,728,729],{},"不同域名：本来就是用来区分站点的",[585,731,733],{"id":732},"_5-没有域名的请求","5. 没有域名的请求",[590,735,736,738],{},[594,737,655],{}," 与 SNI 都可能缺失：直接用 IP 访问、客户端不发 SNI，或者中间设备改写了请求头。",[590,740,741,742,745],{},"节点只按域名查表，查不到就没有后端，连接直接失败。它不会像 nginx 那样回落到 ",[594,743,744],{},"default_server","——节点上不存在默认站点，也没有任何一条隧道会被当作兜底。",[585,747,749],{"id":748},"_6-域名从哪来","6. 域名从哪来",[590,751,752,753,755,756,583],{},"vhost 只认域名，所以域名要先证明属于您：添加进",[577,754,78],{"href":579},"并通过 DNS 验证，之后才能在建隧道时选择。同时还要把域名指向节点，访客才到得了，填写规则见 ",[577,757,227],{"href":228},[590,759,760,761,764],{},"节点读的是",[607,762,763],{},"请求里的","域名，不关心这个域名解析到了哪里。前面套 CDN 时，回源请求带着同一个域名，选路结果与直连时相同。",[585,766,768],{"id":767},"_7-结论","7. 结论",[712,770,771,774,780,783,786],{},[715,772,773],{},"vhost 用域名代替端口做区分，让多条隧道共用一个入口",[715,775,776,777,779],{},"明文看 ",[594,778,655],{},"，加密看 SNI，节点不需要解密",[715,781,782],{},"80 与 443 是两套独立的表，同域名可以各占一条",[715,784,785],{},"同一个节点、同一个域名、同一协议只能有一个后端",[715,787,788],{},"没有域名就没有选路依据，节点不提供默认站点",{"title":790,"searchDepth":791,"depth":791,"links":792},"",2,[793,794,795,796,797,798,799],{"id":587,"depth":791,"text":588},{"id":616,"depth":791,"text":617},{"id":682,"depth":791,"text":683},{"id":700,"depth":791,"text":701},{"id":732,"depth":791,"text":733},{"id":748,"depth":791,"text":749},{"id":767,"depth":791,"text":768},"节点如何用一个端口按域名把请求分给不同隧道，以及 Host 与 SNI 的区别","md",null,{},true,{"title":554,"description":800},"c5I9ainsWqVSKbiTWO6NjMoPdZBEaHZY27om0YSi3Zg",[808,810],{"title":550,"path":551,"stem":552,"description":809,"children":-1},"TLS 用到的两类密码：密钥交换与前向保密、AEAD、密钥派生，以及密码套件名字的读法",{"title":558,"path":559,"stem":560,"description":811,"icon":561,"children":-1},"文档仓库地址，以及如何提交 PR 并在本地预览文档",1795152099815]