mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2293] Consider support X-Forwarded-Host and X-Forwarded-Proto? #1822
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#1822
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 @xfan1024 on GitHub (Mar 11, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2293
I setup the Jenkins in private network and expose the http port by frp.
Jenkins told me “It appears that your reverse proxy set up is broken”
In order to solve this problem I made a draft, it's works.
I'm not familiar with the Go and I have no idea how to correctly add X-Forwarded-Proto field. Can you provide a solution?
@fatedier commented on GitHub (Mar 12, 2021):
Try this feature https://github.com/fatedier/frp#setting-other-http-headers ?
@xfan1024 commented on GitHub (Mar 12, 2021):
I had enabled this option, but Jenkins always need X-Forwarded-Host and X-Forwarded-Proto, because Jenkins want know original host and proto from user's browser.
pleause refer to: https://www.jenkins.io/doc/book/system-administration/reverse-proxy-configuration-troubleshooting
@fatedier commented on GitHub (Mar 12, 2021):
I think it's ok when you set
X-Forwarded-Hostthe value ofcustom_domains. It's just the host users should visit.@xfan1024 commented on GitHub (Mar 12, 2021):
Agree, do you have plan ro support it?
@fatedier commented on GitHub (Mar 12, 2021):
A sample configure
@xfan1024 commented on GitHub (Mar 12, 2021):
Thanks, I got it wrong.😂