plugin: add http_proxy

This commit is contained in:
fatedier
2017-05-30 14:37:51 +08:00
parent e6d82f3162
commit 03d55201b2
8 changed files with 237 additions and 246 deletions

View File

@@ -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