[GH-ISSUE #479] 请教一个vhost的问题 #364

Closed
opened 2026-05-05 12:10:41 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @alwayswdc on GitHub (Oct 5, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/479

请问frps是否支持不同的http vhost一部分使用本地服务例如lamp,另一部分则由frps转发到第三方如内网服务器上。如果lamp的vhost和frp的vhost域名重名冲突了会出现什么情况?谢谢

Originally created by @alwayswdc on GitHub (Oct 5, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/479 请问frps是否支持不同的http vhost一部分使用本地服务例如lamp,另一部分则由frps转发到第三方如内网服务器上。如果lamp的vhost和frp的vhost域名重名冲突了会出现什么情况?谢谢
Author
Owner

@vizv commented on GitHub (Oct 5, 2017):

httpd 和 frp 所监听的端口不能冲突,要想一起用的话在 httpd 上做个代理并且设置相应的 Host header.

<!-- gh-comment-id:334573574 --> @vizv commented on GitHub (Oct 5, 2017): httpd 和 frp 所监听的端口不能冲突,要想一起用的话在 httpd 上做个代理并且设置相应的 `Host` header.
Author
Owner

@alwayswdc commented on GitHub (Oct 7, 2017):

谢谢,通过nginx解决了。

<!-- gh-comment-id:334916708 --> @alwayswdc commented on GitHub (Oct 7, 2017): 谢谢,通过nginx解决了。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#364
No description provided.