mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3356] [Feature Request] Can I use Caddy to proxy server_port number? #2684
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#2684
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 @visualwind on GitHub (Mar 12, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3356
Describe the feature request
I want to use sub domain to redirct server_port. I set client's server_port = 443, and use caddy on server to redirct requested 443 to bind_port = 7000,
I failed many times, please help!
frps.ini
[common] bind_addr = :: bind_port = 7000 token = abc .......frpc.ini
[common] server_addr = linkfrp.abc.com server_port = 443 token = abc .......caddy
https://linkfrp.abc.com { respond "hello, world!" }or
[common] server_addr = linkfrp.abc.com server_port = 7000 #locations = /ai token = abc tls_enable = true protocol = websockethttps:// linkfrp.abc.com { @frp_websocket { header Connection Upgrade header Upgrade websocket } reverse_proxy @frp_websocket 127.0.0.1:7000 }All failed
Describe alternatives you've considered
No response
Affected area
@github-actions[bot] commented on GitHub (Apr 12, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.