mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2245] set frpc to access two local nginx virtual servers with different ports #1788
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#1788
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 @klikdadang on GitHub (Feb 15, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2245
[REQUIRED] hat version of frp are you using
Version: frp_0.33.0_linux_amd64
[REQUIRED] What operating system and processor architecture are you using
OS: ubuntu 18
CPU architecture: 64
[REQUIRED] description of errors
i tried to set frpc.ini to access my local virtual web server using different port, but i only can access my 80 port. i can't access my 8821 port
confile
log file
Steps to reproduce the issue
....
[web01]
type : http
local_port : 80
custom_domains : mydomain.com
location : /
[web01]
type : http
local_port : 80
custom_domains : mydomain.com:8821
location : /8821
Supplementary information
I have tried to find a solution from the issues page but I couldn't find it
please forgive me if this has been discussed before
Can you guess what caused this issue
Checklist:
@klikdadang commented on GitHub (Feb 15, 2021):
sorry, this is my frpc configuration:
[web01]
type : http
local_port : 80
custom_domains : mydomain.com
location : /
[web02]
type : http
local_port : 8821
custom_domains : mydomain.com:8821
location : /8821
@fatedier commented on GitHub (Feb 18, 2021):
You can't do that since you can only set one vhost_http_port in frps.ini.
Try use type tcp instead?
@github-actions[bot] commented on GitHub (Apr 5, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.