mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2317] frps 0.36.1 vhost_http_port默认绑定0.0.0.0,不能指定绑定哪个IP #1838
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1838
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 @h3110w0r1d-y on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2317
在0.35版本中vhost_http_port绑定的IP与bind_addr一致,


但在0.36中默认绑定所有,不能指定绑定哪个IP。
希望可以改回去或者增加可以自定义绑定哪个IP的功能!
@h3110w0r1d-y commented on GitHub (Mar 19, 2021):
我是在下面这种情景下使用的,如果不能自定义vhost_http_port绑定的ip,只能修改nginx的端口,但是修改nginx端口后,从http强制跳转到https就会出错,比如nginx绑定了81(http)和442(https)端口,访问http://abc.com ,nginx会重定向到https://abc.com:442 。

建议大佬添加一个自定义vhost_http_port绑定的IP的功能,谢谢
@fatedier commented on GitHub (Mar 22, 2021):
这是一个配置解析的 bug,之后会发布 v0.36.2 版本修复这个问题