Skip to content

Commit

Permalink
Fix: #122
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Apr 6, 2024
1 parent 46991f2 commit 418005a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prepare/xray_plugin_prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ws_mode_logic(){
improt_package "webServer" "prepare.sh"
is_enable_web_server
if [ "${isEnableWeb}" = "disable" ]; then
domain="cloudfront.com"
get_all_type_domain
firewallNeedOpenPort="${shadowsocksport}"
elif [ "${isEnableWeb}" = "enable" ]; then
reset_if_ss_port_is_443
Expand Down
2 changes: 1 addition & 1 deletion templates/config/xray_plugin_config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config_ss_xray_plugin(){
if [ "${libev_xray_plugin}" = "1" ]; then
serverPluginOpts="server;path=${path}"
serverPluginOpts="server;host=${domain};path=${path}"
elif [ "${libev_xray_plugin}" = "2" ]; then
serverPluginOpts="server;tls;host=${domain};cert=${cerPath};key=${keyPath};path=${path}"
elif [ "${libev_xray_plugin}" = "3" ]; then
Expand Down

0 comments on commit 418005a

Please sign in to comment.