Posts

Showing posts from February, 2025

KOYEB部署webssh支持IPv6

Image
  koyeb 平台 fly.io 平台 支持 IPv6 Koyeb run comad:  python run.py --xsrf=False --xheaders=False --origin='*' --debug --delay=6 update  Dockerfile: update webssh/webssh/settings.py, add 'utf-8'防止中文出现乱码 、 简单贴一张图吧. 就不写教程了. 需要自己输入的部分是: huashengdun/webssh python run.py --xsrf=False --xheaders=False --origin='*' --debug --delay=6 cf cdn: export default {   async fetch ( request , env , ctx ) {     let url = new URL ( request . url ) ;     if ( url . pathname . startsWith ( '/' )) {       url . hostname = "***.koyeb.app" ; // 修改成自己的节点IP/域名       let new_request = new Request ( url , request )       return await fetch ( new_request )     }     return await env . ASSETS . fetch ( request ) ;   }, };