hijkpw / scripts

Shadowsocks/SS一键脚本、ShadowsocksR/SSR一键脚本、V2Ray一键脚本、trojan一键脚本、VPS教程
https://hijk.art
Do What The F*ck You Want To Public License
2.33k stars 1.01k forks source link

v2ray.sh 默认TLS1.2 ,能升级TLS1.3吗 #18

Open shallbytwo opened 3 years ago

shallbytwo commented 3 years ago

如题,v2ray.sh这个脚本部署出来默认的是TLS1.2,可以的话麻烦大佬升级一下脚本支持TLS1.3.谢谢。

hijkpw commented 3 years ago

用的脚本里的哪个组合?

Sent from ProtonMail for iOS

在 周二, 4月 20, 2021 在 22:11, ben-august @.***> 来信:

如题,v2ray.sh这个脚本部署出来默认的是TLS1.2,可以的话麻烦大佬升级一下脚本支持TLS1.3.谢谢。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

用的脚本里的哪个组合? Sent from ProtonMail for iOS 在 周二, 4月 20, 2021 在 22:11, ben-august @.***> 来信: 如题,v2ray.sh这个脚本部署出来默认的是TLS1.2,可以的话麻烦大佬升级一下脚本支持TLS1.3.谢谢。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

vmess+ws+tls

hijkpw commented 3 years ago

这个组合应该支持tls1.3,你用http2协议访问试试

Sent from ProtonMail for iOS

在 周二, 4月 20, 2021 在 22:24, ben-august @.***> 来信:

用的脚本里的哪个组合? Sent from ProtonMail for iOS 在 周二, 4月 20, 2021 在 22:11, ben-august @.***> 来信: 如题,v2ray.sh这个脚本部署出来默认的是TLS1.2,可以的话麻烦大佬升级一下脚本支持TLS1.3.谢谢。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

vmess+ws+tls

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

image

hijkpw commented 3 years ago

好的,有空我看看

Sent from ProtonMail for iOS

在 周二, 4月 20, 2021 在 22:32, ben-august @.***> 来信:

image

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

谢谢大佬

hijkpw commented 3 years ago

查了一下,没有添加tls1.3是为了兼容一些旧版本的nginx。你要是想增加对tls1.3的支持,编辑/etc/nginx/nginx.con文件,在tls1.2后添加,然后重启nginx就可以了。

Sent from ProtonMail for iOS

在 周二, 4月 20, 2021 在 22:35, ben-august @.***> 来信:

谢谢大佬

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

image 哪里添加呀大佬

user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid;

Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.

include /usr/share/nginx/modules/*.conf;

events { worker_connections 1024; }

http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';

access_log  /var/log/nginx/access.log  main;
server_tokens off;

sendfile            on;
tcp_nopush          on;
tcp_nodelay         on;
keepalive_timeout   65;
types_hash_max_size 2048;
gzip                on;

include             /etc/nginx/mime.types;
default_type        application/octet-stream;

# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include /etc/nginx/conf.d/*.conf;

}

hijkpw commented 3 years ago

那就是写在了/etc/nginx/conf.d/你的域名.conf这个文件里了

Sent from ProtonMail for iOS

在 周三, 4月 21, 2021 在 16:30, ben-august @.***> 来信:

image 哪里添加呀大佬

user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid;

Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.

include /usr/share/nginx/modules/*.conf;

events { worker_connections 1024; }

http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main; server_tokens off;

sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; gzip on;

include /etc/nginx/mime.types; default_type application/octet-stream;

Load modular configuration files from the /etc/nginx/conf.d directory.

See http://nginx.org/en/docs/ngx_core_module.html#include

for more information.

include /etc/nginx/conf.d/*.conf;

}

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

imagez这样吗

hijkpw commented 3 years ago

Sent from ProtonMail for iOS

在 周三, 4月 21, 2021 在 16:34, ben-august @.***> 来信:

imagez这样吗

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

shallbytwo commented 3 years ago

解决了 谢谢

shallbytwo commented 3 years ago

另外问一下大佬你这个脚本安装的v2ray是用的哪个版本内核,能支持0-RTT吗

hijkpw commented 3 years ago

最新版,支持

Sent from ProtonMail for iOS

在 周三, 4月 21, 2021 在 16:42, ben-august @.***> 来信:

另外问一下大佬你这个脚本安装的v2ray是用的哪个版本内核,能支持0-RTT吗

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.