mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #922] It seems that I can not reverse proxy the frp's web dashboard onto a subdir through Nginx #732
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#732
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 @NitroCao on GitHub (Sep 16, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/922
What version of frp are you using (./frpc -v or ./frps -v)?
frps
v0.20.0.What operating system and processor architecture are you using (
go env)?CentOS Linux release 7.5.1804 (Core)with3.10.0-693.el7.x86_64kernel release.Configures you used:
Follows the configuration of frps:
Follows the key configuration of nginx:
Steps to reproduce the issue:
Describe the results you received:
When I open
https://mysite.com/frps/, it returns404for me and it redirects tohttps://mysite.com/static/.Describe the results you expected:
Access frp's web dashboard successfully through Nginx's reverse proxy.
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
Seems that the frp's web dashboard doesn't support deploying to subdir. Adding a config option to support this feature would be a nice job.
@shellus commented on GitHub (Oct 9, 2018):
The frps dashboard is standard http, so your problem is not frp, but about the nginx directory rewrite.