aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 9144ff49..a31418cf 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -95,7 +95,7 @@ function moduleapi.http_url(module, app_name, default_path)
local url = {
scheme = service[1].service.name;
host = module:get_option_string("http_host", module.global
- and module:get_option_string("http_default_host") or module.host);
+ and module:get_option_string("http_default_host", interface) or module.host);
port = port;
path = get_base_path(module, app_name, default_path or "/" .. app_name);
}