fix port for first amnezia container

This commit is contained in:
mercury
2025-12-09 21:57:10 +04:00
parent 7cc100ace5
commit c140f292e8
+1 -1
View File
@@ -3823,7 +3823,7 @@ DNS-over-HTTPS with IP:
"client_pub_key" => "0",
"config" => $this->createConfig($client),
"hostName" => $this->ip,
"port" => (int) getenv('WG1PORT'),
"port" => (int) getenv($this->getInstanceWG() == 'wg1' ? 'WG1PORT' : 'WGPORT'),
"psk_key" => $client['peers'][0]['PresharedKey'],
"server_pub_key" => $client['peers'][0]['PublicKey']
]),