mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
plugin: add http_proxy
This commit is contained in:
@@ -90,11 +90,18 @@ use_compression = false
|
||||
subdomain = web01
|
||||
custom_domains = web02.yourdomain.com
|
||||
|
||||
[unix_domain_socket]
|
||||
[plugin_unix_domain_socket]
|
||||
type = tcp
|
||||
remote_port = 6001
|
||||
remote_port = 6003
|
||||
# if plugin is defined, local_ip and local_port is useless
|
||||
# plugin will handle connections got from frps
|
||||
plugin = unix_domain_socket
|
||||
# params set with prefix "plugin_" that plugin needed
|
||||
plugin_unix_path = /var/run/docker.sock
|
||||
|
||||
[plugin_http_proxy]
|
||||
type = tcp
|
||||
remote_port = 6004
|
||||
plugin = http_proxy
|
||||
plugin_http_user = abc
|
||||
plugin_http_passwd = abc
|
||||
|
Reference in New Issue
Block a user