mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #773] Accept proxy protocol #506
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arsham6ix on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/773
Welcome
Description of the problem,screencshot would be good
درود خدمت شما ، ممنون بابت اپدیت پنل ، راجب مسئله Accept proxy protocol باید بگم که من جیسون رو چک کردم و فهمیدم که یک قسمت جای درستی قرار نگرفته و خواستم گزارش بدم بابت ایمیل قبلی که زحمت کشیدید بهم دادید.
اگه کد های جیسون رو چک کنید میبینید که قسمت مورد نظر به بلاک grpcSettings در grpc و در h2 به بلاک httpSettings اضافه شده که این ۲ تا بلاک هم زیر شاخه streamSettings هستند 👇
"sockopt": { "acceptProxyProtocol": false }بلاک sockopt خود مختار هست و نباید به این بلاک ها که معرفی کردم اضافه بشن ، باید به خود streamSettings اضافه بشه ، برای نمونه هم من ۲ تا عکس میزارم زیر این متن
Version of 3x-ui
1.7.1
x-ui log reports or xray log
..
@arsham6ix commented on GitHub (Jul 25, 2023):
TCP 👇
inbounds[0].streamSettings.sockopt.acceptProxyProtocol=true
gRPC, H2 👇
inbounds[0].streamSettings.sockopt.acceptProxyProtocol=true
@MHSanaei commented on GitHub (Jul 29, 2023):
done