mirror of
https://github.com/10h30/v2ray-nginx-docker.git
synced 2026-07-11 18:56:07 +09:00
readme
This commit is contained in:
+28
-28
@@ -1,30 +1,30 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "debug"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 30003,
|
||||
"listen":"127.0.0.1",
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "CLIENT_ID",
|
||||
"alterId": CLIENT_ALTERID
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings":{
|
||||
"network":"ws",
|
||||
"wsSettings": {
|
||||
"path": "CLIENT_WSPATH"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
}
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "debug"
|
||||
},
|
||||
"inbound": {
|
||||
"port": LISTENING_PORT,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "CLIENT_ID",
|
||||
"alterId": CLIENT_ALTERID
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"wsSettings": {
|
||||
"path": "CLIENT_WSPATH"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ server {
|
||||
|
||||
location CLIENT_WSPATH {
|
||||
proxy_redirect off;
|
||||
proxy_pass http://127.0.0.1:30003;
|
||||
proxy_pass http://127.0.0.1:LISTENING_PORT;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
Reference in New Issue
Block a user