diff --git a/lib/https/index.js b/lib/https/index.js
index <HASH>..<HASH> 100644
--- a/lib/https/index.js
+++ b/lib/https/index.js
@@ -105,6 +105,12 @@ function handleWebsocket(socket, clientIp, callback) {
 						if (filter.rule) {
 							plugin = null;
 						}
+						if (!_rules.host) {
+							var _pluginRules = rulesMgr.resolveRules(fullUrl); 
+							if (_pluginRules.host) {
+								_rules.host = _pluginRules.host;
+							}
+						}
 						Object.keys(filter).forEach(function(name) {
 							delete _rules[name];
 						});
diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -51,6 +51,12 @@ function tunnelProxy(server, proxy) {
 		if (rulesMgr) {
 			extend(filter, rulesMgr.resolveFilter(tunnelUrl));
 			extend(disable, rulesMgr.resolveDisable(tunnelUrl));
+			if (!_rules.host) {
+				var _pluginRules = rulesMgr.resolveRules(fullUrl); 
+				if (_pluginRules.host) {
+					_rules.host = _pluginRules.host;
+				}
+			}
 			Object.keys(filter).forEach(function(name) {
 				delete _rules[name];
 			});
refactor: show plugins rules in overview