Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

请教修改config.yaml 支持旧参数V2Ray ws path #44

Closed
ghost opened this issue Sep 3, 2020 · 1 comment
Closed

请教修改config.yaml 支持旧参数V2Ray ws path #44

ghost opened this issue Sep 3, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 3, 2020

你好,请教一下,旧vps V2Ray 为ws tls模式,path为vtest,

原版caddy参数为

mytest213.pw {
    gzip
timeouts none
    proxy / https://www.pcgeek.com.au {
        except /vtest
    }
    proxy /game 127.0.0.1:27292 {
        without /vtest
        websocket
    }
}
import sites/*

旧节点10几人在用,
现在想用您一键脚本,开台新的VPS无缝过渡,
请教下面/etc/tls-shunt-proxy/config.yaml应该如何改,
大概V2Ray我都懂些,指点一下我会明白 :)

listen: 0.0.0.0:443
redirecthttps: 0.0.0.0:80

vhosts:
  - name: mytest213.pw
    tlsoffloading: true
    managedcert: true
    keytype: p256
    alpn: h2,http/1.1
    protocols: tls12,tls13
    http:
      ##CDN@paths:
        ##CDN@- path: /FAKECDNPATH
        ##CDN@  handler: proxyPass
        ##CDN@  args: 127.0.0.1:3566
      handler: fileServer
      args: /var/www/html
    default:
      handler: proxyPass
      args: unix:/tmp/v2ray-ds/v2ray.sock
@ghost
Copy link
Author

ghost commented Sep 12, 2020

The problem was resolved using TLS-Shunt proxy official.

@ghost ghost closed this as completed Sep 12, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants