@ -15,14 +15,17 @@
}
],
"decryption": "none",
"fallback": {
"unix": "/dev/shm/default.sock",
"xver": 1
},
"fallback_h2": {
"unix": "/dev/shm/h2.sock",
"fallbacks": [
{
"dest": "/dev/shm/default.sock",
"alpn": "h2",
"dest": "/dev/shm/h2.sock",
]
"streamSettings": {
"network": "tcp",
@ -47,4 +50,4 @@
"protocol": "freedom"
@ -15,9 +15,11 @@
"port": 80
"dest": 80
@ -41,4 +43,4 @@
@ -15,17 +15,18 @@
"email": "love@v2fly.org"
"addr": "127.0.0.1",
"port": 8001,
"port": 8002,
"decryption": "none"
"dest": 8001,
"dest": 8002,
@ -38,8 +39,8 @@
"certificates": [
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
"certificateFile": "/path/to/fullchain.crt",
"keyFile": "/path/to/private.key"
@ -15,17 +15,16 @@
"xver": 0
"dest": 8001
"dest": 8002
@ -38,8 +37,8 @@
@ -15,17 +15,12 @@
"network": "tcp"
@ -48,21 +48,4 @@ http {
error_page 500 502 503 504 /50x.html;
server {
listen 127.0.0.1:8002 http2;
server_name yourserver_8002.com;
charset utf-8;
access_log logs/yourserver_8002.access.log main;
location / {
root /var/www/html;
error_page 404 /404.html;