Sign inSign up

spartans1179/v2ray-tls-docker

By spartans1179

•Updated about 6 years ago

easy to use v2ray tls server Create

Image
1

3.5K

spartans1179/v2ray-tls-docker repository overview

⁠v2ray-tls-docker

⁠Intro

V2Ray⁠ is a platform for building proxies to bypass network restrictions, the transport protocol supports websockets, so we can use a web server such as Nginx⁠, Caddy⁠, etc. to proxy V2Ray, and enable TLS encryption for a more secure communication environment. It is cumbersome to set up such a set of services, especially configuration file adjustment and TLS configuration. It is organized into a docker container to simplify deployment, and the docker feature can reduce maintenance difficulty.You can also use the CDN service for DNS and HTTP proxy to improve communication speed and service security, such as enabling Authenticated Origin Pulls and disabling the insecure TLS protocol.

⁠Prerequisites

  • Linux amd64 server
  • Docker

⁠Install

git clone https://github.com/Sparkness/v2ray-tls-docker.git
cd v2ray-tls-docker
# {email} is your email, {dns} is your server`s dns
./genconf.sh -m {email} -d {dns}
# After running genconf.sh, you will get the client conf info
# Need to release port 80 for acme certificate issuance
docker-compose up -d

(optional) if you want to build new images, you can run the following after genconf.sh:

docker-compose -f docker-compose.build.yaml up -d

⁠Customzation

you can run genconf with -p option to enable caddy plugin, eg:

./genconf.sh -m [email protected] -d example.com -p http.cache,tls.dns.cloudflare

Use a comma to separate the plugin name.

Tag summary

Content type

Image

Digest

Size

26.1 MB

Last updated

about 6 years ago

docker pull spartans1179/v2ray-tls-docker