mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #464] 0.13新版本开启 vhost 会与 nginx 冲突 #352
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#352
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 @niluanxy on GitHub (Sep 14, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/464
What version of frp are you using (./frpc -v or ./frps -v)?
frps v0.13
What operating system and processor architecture are you using (
go env)?centos 7
Configures you used:
开启了 vhost 功能,端口分别是 80 443
Steps to reproduce the issue:
开启 vhost 后,重启发现导致 nginx 无法启动,然后试着端口为 180 1443,nginx能启动,但是想通过 nginx 转发直接访问绑定的服务就不行,只能通过 nas.xxx.com:180 这种方式访问,有别的办法或者配置方式没。
@niluanxy commented on GitHub (Sep 14, 2017):
已经解决了,nginx 里面添加个转发,但是需要转发域名,而不是ip,比如 nas.xxx.com:180 这样就可以了,两个都不冲突,也能直接通过 nas.xxx.com 的方式访问。