fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.31k stars 13.23k forks source link

use multiple plugins possible?[Feature Request] #2737

Open felix530-h opened 2 years ago

felix530-h commented 2 years ago

Describe the feature request

Is it possible to use multiple plugins?

I would like to use the "HTTP Basic Auth" function, the "https2http" plugin and "Custom Subdomain Names". Is this possible?

I have already tried several things. But so far never all parameters are recognized by frp.

for example the following frpc.ini configuration: frpc.ini [common] server_addr = 127.0.0.1 server_port = 7000

[https2http_all] type = https plugin = https2http local_ip = 192.168.178.xyz local_port = 80 custom_domains = test.abc subdomain = web02 plugin_crt_path = /home/frp_0.38.0_linux_amd64/cert1.pem plugin_key_path = /home/frp_0.38.0_linux_amd64/privkey1.pem plugin_host_header_rewrite = 192.168.178.xyz plugin_header_X-From-Where = frp http_user = abc http_pwd = abc proxy_protocol_version = v2

Describe alternatives you've considered

No response

Affected area

fatedier commented 2 years ago

Can't do that now, but will support it in v2.

felix530-h commented 2 years ago

I found out something. You can switch several frp proxies in a row, then it works partially. But this is not a nice solution. Thanks a lot that you will realize this feature in version 2.