wizwizxui-timebot
wizwizxui-timebot copied to clipboard
ست کردن path در پروتکل ws
سلام بنده از پروتکل ws استفاده میکنم و ws pathسرور بنده /ws هست ، اما در تنظیمات ربات قسمتی برای مشخص کردن ws path نیست و خودکار اون رو خالی ایجاد میکنه که کانفیگ ها به مشکل میخورن مثلا
vless:/xxxxxx@xxxx:443?type=ws&security=none&path=/&host=#xxxxx که باید باشه
vless:/xxxxxx@xxxx:443?type=ws&security=none&path=/ws&host=#xxxxx
کسی میتونه کمک کنه
A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):
-
Open the config.php file and navigate to line 4248:
nano -c +4248 /var/www/html/wizwizxui-timebot/config.php -
Add your desired values to the config uri, like ws path, alpn and utls:
else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";
As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.
کسی میتونه کمک کنه
فعلا از path نمیتونه پشتیبانی کنه ولی این دوستمون کدش اوکیه میتونید جایگزین کنید استفاده کنید
A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):
Open the config.php file and navigate to line 4248:
nano -c +4248 /var/www/html/wizwizxui-timebot/config.phpAdd your desired values to the config uri, like ws path, alpn and utls:
else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";As you see this part
path=%2Fws&alpn=h2,http/1.1&fp=chromeis added to the original uri available in the source.
I couldn't do it can you help me on telegram?
https://t.me/baini01
A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):
- Open the config.php file and navigate to line 4248:
nano -c +4248 /var/www/html/wizwizxui-timebot/config.php- Add your desired values to the config uri, like ws path, alpn and utls:
else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";As you see this part
path=%2Fws&alpn=h2,http/1.1&fp=chromeis added to the original uri available in the source.
This worked for me in sanaei v2.3.11 and wizwizbot v10.2.1 but the code line you have mentioned has been changed to 4048. I really apperciate your help.
Thank you very much for your help
On Wed, Sep 11, 2024 at 2:45 AM Mahdi Jabbary @.***> wrote:
A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):
- Open the config.php file and navigate to line 4248: nano -c +4248 /var/www/html/wizwizxui-timebot/config.php
- Add your desired values to the config uri, like ws path, alpn and utls: else $outputlink = "$protocol://$uniqid@ $server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";
As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.
This worked for me in sanaei v2.3.11 and wizwizbot v10.2.1 but the code line you have mentioned has been changed to 4048. I really apperciate your help.
— Reply to this email directly, view it on GitHub https://github.com/wizwizdev/wizwizxui-timebot/issues/988#issuecomment-2342321130, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHCBRU7KVSIDDKBGBH46RVLZV54RNAVCNFSM6AAAAABHMRSBL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGMZDCMJTGA . You are receiving this because you commented.Message ID: @.***>