Feature/xray custom port (#965)
* add variable port to scripts for xray * update naming
This commit is contained in:
parent
1343d10aa7
commit
d18423ee8c
4 changed files with 5 additions and 4 deletions
|
|
@ -569,6 +569,7 @@ ServerController::Vars ServerController::genVarsForScript(const ServerCredential
|
|||
|
||||
// Xray vars
|
||||
vars.append({ { "$XRAY_SITE_NAME", xrayConfig.value(config_key::site).toString(protocols::xray::defaultSite) } });
|
||||
vars.append({ { "$XRAY_SERVER_PORT", xrayConfig.value(config_key::port).toString(protocols::xray::defaultPort) } });
|
||||
|
||||
// Wireguard vars
|
||||
vars.append({ { "$WIREGUARD_SUBNET_IP",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue