V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Ggmusic
V2EX  ›  程序员

Windsurf 反代配置,支持 tab 自动补全

  •  
  •   Ggmusic · 38 天前 via iPhone · 1124 次点击
    这是一个创建于 38 天前的主题,其中的信息可能已经有所发展或是发生改变。

    外网机器 nginx 上配置:

    stream { 
        map $ssl_preread_server_name    $name99 {
             southcentral.codeium.com southcentral99;
             default                 southcentral99;
            }
      
      upstream southcentral99{
         server southcentral.codeium.com:30099;
         }
    
        server {
            listen            30099;
            listen            [::]:30099;
            proxy_pass        $name99;
            ssl_preread       on;
        }
    }
    

    需要安装 libnginx-mod-stream 。

    本机 hosts 绑定外网 nginx 的 ip (假设是 3.3.3.3 ):

    3.3.3.3   southcentral.codeium.com
    
    1 条回复    2025-05-07 09:37:36 +08:00
    jenhe
        1
    jenhe  
       37 天前
    这个有什么用?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1134 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:33 · PVG 07:33 · LAX 16:33 · JFK 19:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.