Xray-0.1.2 beta

[fix] nginx 证书配置文件错误
pull/401/head
wulabing 2021-07-08 17:38:04 +08:00
parent 245a264f37
commit 1ea41e5311
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
3 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
server {
listen 443 ssl http2;
listen [::]:443 http2;
ssl_certificate /ssl/v2ray.crt;
ssl_certificate_key /ssl/v2ray.key;
ssl_certificate /ssl/xray.crt;
ssl_certificate_key /ssl/xray.key;
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519:P-256:P-384:P-521;
ssl_ciphers '[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305|ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]:ECDHE+AES128:RSA+AES128:ECDHE+AES256:RSA+AES256:ECDHE+3DES:RSA+3DES';

View File

@ -1,8 +1,8 @@
server {
listen 443 ssl http2;
listen [::]:443 http2;
ssl_certificate /ssl/v2ray.crt;
ssl_certificate_key /ssl/v2ray.key;
ssl_certificate /ssl/xray.crt;
ssl_certificate_key /ssl/xray.key;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_ecdh_curve X25519:P-256:P-384:P-521;
ssl_ciphers '[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305|ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]:ECDHE+AES128:RSA+AES128:ECDHE+AES256:RSA+AES256:ECDHE+3DES:RSA+3DES';

View File

@ -27,7 +27,7 @@ OK="${Green}[OK]${Font}"
ERROR="${Red}[ERROR]${Font}"
# 变量
shell_version="0.1.1"
shell_version="0.1.2"
github_branch="nginx_forward"
xray_conf_dir="/usr/local/etc/xray"
website_dir="/www/xray_web/"
@ -392,7 +392,7 @@ function acme() {
systemctl restart nginx
if "$HOME"/.acme.sh/acme.sh --issue -d "${domain}" --webroot "$website_dir" -k ec-256 --force; then
if "$HOME"/.acme.sh/acme.sh --issue -d "${domain}" -k ec-256 --nginx --force; then
print_ok "SSL 证书生成成功"
sleep 2
if "$HOME"/.acme.sh/acme.sh --installcert -d "${domain}" --fullchainpath /ssl/xray.crt --keypath /ssl/xray.key --reloadcmd "systemctl restart xray" --ecc --force; then