[GH-ISSUE #2628] URL Routing for HTTPS #2093

Closed
opened 2026-05-05 13:20:48 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @liangzx96 on GitHub (Oct 20, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2628

Bug Description

I was prompted router config conflict.

It seems that URL Routing for HTTPS is not supported, or something was wrong in my configuration?

frpc Version

0.37.1

frps Version

0.37.1

System Architecture

linux/amd64

Configurations

[DSM_WEB_HTTP]
type = http
local_ip = localhost
local_port = 5000
use_encryption = false
use_compression = true
custom_domains = synology.xxx.one
locations = /

[DSM_WEB_HTTPS]
type = https
local_ip = localhost
local_port = 5001
use_encryption = false
use_compression = true
custom_domains = synology.xxx.one
locations = /

[DSM_OTHERS_HTTP]
type = http
local_ip = localhost
local_port = 80
use_encryption = false
use_compression = true
custom_domains = synology.xxx.one
locations = /phpMyAdmin

[DSM_OTHERS_HTTPS]
type = https
local_ip = localhost
local_port = 443
use_encryption = false
use_compression = true
custom_domains = synology.xxx.one
locations = /phpMyAdmin

Logs

2021/10/20 07:35:38 [W] [control.go:440] [c6c190d5f8226179] new proxy [DSM_OTHERS_HTTPS] error: router config conflict
2021/10/20 07:35:38 [I] [http.go:92] [c6c190d5f8226179] [WEBSITE_HTTP] http proxy listen for host [xxx.one] location [] group []
2021/10/20 07:35:38 [I] [control.go:444] [c6c190d5f8226179] new proxy [WEBSITE_HTTP] success
2021/10/20 07:36:00 [I] [proxy.go:179] [c6c190d5f8226179] [DSM_WEB_HTTPS] get a user connection [192.168.50.112:3152]
2021/10/20 07:36:08 [I] [proxy.go:88] [c6c190d5f8226179] [DSM_OTHERS_HTTPS] proxy closing
2021/10/20 07:36:08 [W] [control.go:440] [c6c190d5f8226179] new proxy [DSM_OTHERS_HTTPS] error: router config conflict
2021/10/20 07:36:10 [I] [proxy.go:179] [c6c190d5f8226179] [DSM_WEB_HTTPS] get a user connection [192.168.50.112:13781]

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 @liangzx96 on GitHub (Oct 20, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2628 ### Bug Description I was prompted router config conflict. It seems that URL Routing for HTTPS is not supported, or something was wrong in my configuration? ### frpc Version 0.37.1 ### frps Version 0.37.1 ### System Architecture linux/amd64 ### Configurations > [DSM_WEB_HTTP] > type = http > local_ip = localhost > local_port = 5000 > use_encryption = false > use_compression = true > custom_domains = synology.xxx.one > locations = / > > [DSM_WEB_HTTPS] > type = https > local_ip = localhost > local_port = 5001 > use_encryption = false > use_compression = true > custom_domains = synology.xxx.one > locations = / > > [DSM_OTHERS_HTTP] > type = http > local_ip = localhost > local_port = 80 > use_encryption = false > use_compression = true > custom_domains = synology.xxx.one > locations = /phpMyAdmin > > [DSM_OTHERS_HTTPS] > type = https > local_ip = localhost > local_port = 443 > use_encryption = false > use_compression = true > custom_domains = synology.xxx.one > locations = /phpMyAdmin ### Logs > 2021/10/20 07:35:38 [W] [control.go:440] [c6c190d5f8226179] new proxy [DSM_OTHERS_HTTPS] error: router config conflict > 2021/10/20 07:35:38 [I] [http.go:92] [c6c190d5f8226179] [WEBSITE_HTTP] http proxy listen for host [xxx.one] location [] group [] > 2021/10/20 07:35:38 [I] [control.go:444] [c6c190d5f8226179] new proxy [WEBSITE_HTTP] success > 2021/10/20 07:36:00 [I] [proxy.go:179] [c6c190d5f8226179] [DSM_WEB_HTTPS] get a user connection [192.168.50.112:3152] > 2021/10/20 07:36:08 [I] [proxy.go:88] [c6c190d5f8226179] [DSM_OTHERS_HTTPS] proxy closing > 2021/10/20 07:36:08 [W] [control.go:440] [c6c190d5f8226179] new proxy [DSM_OTHERS_HTTPS] error: router config conflict > 2021/10/20 07:36:10 [I] [proxy.go:179] [c6c190d5f8226179] [DSM_WEB_HTTPS] get a user connection [192.168.50.112:13781] ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:20:48 -06:00
Author
Owner

@liangzx96 commented on GitHub (Oct 20, 2021):

I checked the doc and found that https routing has not been supported yet. I guess it may be due to the end-to-end encryption nature of https, so perhaps it is possible to decrypt the message using certificates and then encrypt and route the message

<!-- gh-comment-id:947660740 --> @liangzx96 commented on GitHub (Oct 20, 2021): I checked the doc and found that https routing has not been supported yet. I guess it may be due to the end-to-end encryption nature of https, so perhaps it is possible to decrypt the message using certificates and then encrypt and route the message
Author
Owner

@fatedier commented on GitHub (Oct 21, 2021):

No plan to support that since frps will not reserve user certificate.

<!-- gh-comment-id:948293595 --> @fatedier commented on GitHub (Oct 21, 2021): No plan to support that since frps will not reserve user certificate.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 21, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:974732589 --> @github-actions[bot] commented on GitHub (Nov 21, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2093
No description provided.