mirror of https://github.com/wulabing/Xray_onekey
parent
ca2b1a6ade
commit
874f8b296b
|
@ -10,8 +10,6 @@
|
||||||
root /www/xray_web;
|
root /www/xray_web;
|
||||||
error_page 400 = /400.html;
|
error_page 400 = /400.html;
|
||||||
|
|
||||||
# Config for 0-RTT in TLSv1.3
|
|
||||||
ssl_early_data on;
|
|
||||||
ssl_stapling on;
|
ssl_stapling on;
|
||||||
ssl_stapling_verify on;
|
ssl_stapling_verify on;
|
||||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||||
|
@ -26,8 +24,6 @@
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
# Config for 0-RTT in TLSv1.3
|
|
||||||
proxy_set_header Early-Data $ssl_early_data;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
|
|
|
@ -27,7 +27,7 @@ OK="${Green}[OK]${Font}"
|
||||||
ERROR="${Red}[ERROR]${Font}"
|
ERROR="${Red}[ERROR]${Font}"
|
||||||
|
|
||||||
# 变量
|
# 变量
|
||||||
shell_version="0.1.7"
|
shell_version="0.1.8"
|
||||||
github_branch="nginx_forward"
|
github_branch="nginx_forward"
|
||||||
xray_conf_dir="/usr/local/etc/xray"
|
xray_conf_dir="/usr/local/etc/xray"
|
||||||
website_dir="/www/xray_web/"
|
website_dir="/www/xray_web/"
|
||||||
|
|
Loading…
Reference in New Issue