[GH-ISSUE #2332] 为 https 网站设置 BasicAuth 鉴权 Require https Basic Auth (Password) for Web Services #1850

Closed
opened 2026-05-05 13:11:46 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ax2009live on GitHub (Mar 29, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2332

[web]
type = https
local_ip = 127.0.0.1
local_port = 443
custom_domains = test.example.com
http_user = abc
http_pwd = abc

用在 https 代理上,没有作用;

希望增加 " 支持 https 网站设置 BasicAuth 鉴权 " 这个功能 ; 可以对一些网站加密访问 ( 比如一些反代网站 ),又不需要太多设置;
https_user = abc
https_pwd = abc

 #frpc.ini
[web]
type = https
local_ip = 127.0.0.1
local_port = 443
custom_domains = test.example.com
https_user = abc
https_pwd = abc 
Originally created by @ax2009live on GitHub (Mar 29, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2332 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <pre> [web] type = https local_ip = 127.0.0.1 local_port = 443 custom_domains = test.example.com http_user = abc http_pwd = abc</pre> 用在 https 代理上,没有作用; 希望增加 " 支持 https 网站设置 BasicAuth 鉴权 " 这个功能 ; 可以对一些网站加密访问 ( 比如一些反代网站 ),又不需要太多设置; https_user = abc https_pwd = abc <pre> #frpc.ini [web] type = https local_ip = 127.0.0.1 local_port = 443 custom_domains = test.example.com https_user = abc https_pwd = abc </pre>
gitea-mirror 2026-05-05 13:11:46 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 29, 2021):

frp 不解析 HTTPS 协议内容,所以无法支持

<!-- gh-comment-id:809326332 --> @fatedier commented on GitHub (Mar 29, 2021): frp 不解析 HTTPS 协议内容,所以无法支持
Author
Owner

@ax2009live commented on GitHub (Mar 29, 2021):

好的,谢谢回复!
那我通过 nginx 实现!

<!-- gh-comment-id:809333477 --> @ax2009live commented on GitHub (Mar 29, 2021): 好的,谢谢回复! 那我通过 nginx 实现!
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#1850
No description provided.