[GH-ISSUE #3360] https2http 子页面无法打开 #2686

Closed
opened 2026-05-05 13:43:56 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @netfun2000 on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3360

Bug Description

https://github.com/fatedier/frp/issues/2482 这个已经closed了。

我也遇到类似问题。我是在给odoo做https2http:

[odoo_https2http]
type = https
plugin = https2http
plugin_local_addr = 127.0.0.1:8069
plugin_crt_path = /certs/odoo_public.crt
plugin_key_path = /certs/odoo.key
plugin_host_header_rewrite = odoo.xxxx.com
plugin_header_X-From-Where = frp
subdomain = odoo

跳转子页面的时候,不自动转https而是变成了http,例如访问:
https://odoo.xxxx.com

Odoo要跳转到子页面odoo.xxxx.com/web,
而这时候,就变成了
http://odoo.xxxx.com/web
而不是
https://odoo.xxx.com/web

frpc Version

0.48.0

frps Version

0.24.1

System Architecture

linux/arm64

Configurations

[odoo_https2http]
type = https
plugin = https2http
plugin_local_addr = 127.0.0.1:8069
plugin_crt_path = /certs/odoo_public.crt
plugin_key_path = /certs/odoo.key
plugin_host_header_rewrite = odoo.xxxx.com
plugin_header_X-From-Where = frp
subdomain = odoo

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @netfun2000 on GitHub (Mar 15, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3360 ### Bug Description https://github.com/fatedier/frp/issues/2482 这个已经closed了。 我也遇到类似问题。我是在给odoo做https2http: [odoo_https2http] type = https plugin = https2http plugin_local_addr = 127.0.0.1:8069 plugin_crt_path = /certs/odoo_public.crt plugin_key_path = /certs/odoo.key plugin_host_header_rewrite = odoo.xxxx.com plugin_header_X-From-Where = frp subdomain = odoo 跳转子页面的时候,不自动转https而是变成了http,例如访问: https://odoo.xxxx.com, Odoo要跳转到子页面odoo.xxxx.com/web, 而这时候,就变成了 http://odoo.xxxx.com/web 而不是 https://odoo.xxx.com/web ### frpc Version 0.48.0 ### frps Version 0.24.1 ### System Architecture linux/arm64 ### Configurations [odoo_https2http] type = https plugin = https2http plugin_local_addr = 127.0.0.1:8069 plugin_crt_path = /certs/odoo_public.crt plugin_key_path = /certs/odoo.key plugin_host_header_rewrite = odoo.xxxx.com plugin_header_X-From-Where = frp subdomain = odoo ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Mar 15, 2023):

redirect,链接这些都是应用前端自身的问题,建议了解一下相关的知识然后进行合理的配置。frp 这里无法解决特定服务的问题。

<!-- gh-comment-id:1469246236 --> @fatedier commented on GitHub (Mar 15, 2023): redirect,链接这些都是应用前端自身的问题,建议了解一下相关的知识然后进行合理的配置。frp 这里无法解决特定服务的问题。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2686
No description provided.