Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjie/v2ray-tls-websocket-nginx
๐The ULTIMATE V2Ray proxy configuration powered by Project V.
https://github.com/chenjie/v2ray-tls-websocket-nginx
nginx proxy tls v2ray websocket
Last synced: about 1 month ago
JSON representation
๐The ULTIMATE V2Ray proxy configuration powered by Project V.
- Host: GitHub
- URL: https://github.com/chenjie/v2ray-tls-websocket-nginx
- Owner: chenjie
- License: mit
- Created: 2019-06-11T16:18:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-06T14:17:40.000Z (about 5 years ago)
- Last Synced: 2024-08-01T20:51:30.610Z (4 months ago)
- Topics: nginx, proxy, tls, v2ray, websocket
- Language: Shell
- Homepage: https://v2ray.com/
- Size: 15.6 KB
- Stars: 34
- Watchers: 0
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - chenjie/v2ray-tls-websocket-nginx - ๐The ULTIMATE V2Ray proxy configuration powered by Project V. (Shell)
README
# v2ray-tls-websocket-nginx
Are we doomed in the year of 2019? Is it gonna be like The Wandering Earth๐? Fortunately, here comes the V2Ray to the rescue, which is powered by the [Project V](https://v2ray.com/).> If you want to keep a *secret*, you must also hide it from *yourself*. (Shadowsocks)
## Tutorial (highly recommended)
* [V2Ray ็ฝ่ฏๆๆ็จ](https://toutyrater.github.io/) (Mandarin)
* [V2Ray Official Doc](https://v2ray.com/en/index.html) (English)## Prerequisites
* Ubuntu 18.04
* Run as `root` user
* A cup of Java :)## Usage
### Set up from scratch
```
$ bash auto-config.sh domain_name
```### Renew SSL certificate
```
$ bash renew-cert.sh domain_name
```Note: `domain_name` should have DNS A record configured pointing at the _public_ IPv4 address (not the private one in VPC) of the VM/VPS.
## Configs
| Key | Value |
|---|---|
| Server IP | `` |
| Protocol | `Vmess` |
| Port | `443` |
| UUID | `b831381d-6324-4d53-ad4f-8cda48b30811` |
| AlterId | `64` |
| Encryption | `auto` |
| TLS | `YES` |
| TLS Domain Name | `` |
| Network | `websocket` or `ws` |
| Websocket Path | `/ws/` |## Extra Info
* Nginx: `/etc/nginx`
* Websocket port (internal): `10000`
* Log files: `/var/log/v2ray` (loglevel: info)
* V2Ray config: `/etc/v2ray/config.json`
* Letโs Encrypt [certificate duration](https://letsencrypt.org/2015/11/09/why-90-days.html): `90 days`