mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1450] https2http返回header里的Location 值没有将http改为 https 的问题 #1145
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#1145
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 @schunlei on GitHub (Sep 28, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1450
使用版本:V0.29
部分配置如下:
[httpssss]
type=https
subdomain=nc
header_security=https
plugin=https2http
plugin_local_addr= 127.0.0.1:80
plugin_crt_path = *******
plugin_key_path= ******
plugin_header_X-From-Where = frp
情况说明:
使用docker上的安装的nextcloud,访问时,会首先使用返回302状态,返回的header里有location,如下:
Location:http://nc.*******/apps/files/
上面应该 是 https 而不应该出现 http
这种情况有办法解决么?
@fatedier commented on GitHub (Sep 29, 2019):
如果本地服务是你自己的,你自己可以修改这个 location 的内容为 https。
还可以将访问 http 的内容再重新 302 到 https。