author | Kim Alvefur <zash@zash.se> |
Thu, 20 Feb 2014 19:08:55 +0100 | |
changeset 6025 | 583e5c1365fe |
parent 6024 | c352d97cf137 |
child 6026 | 8a8be471ec72 |
--- a/plugins/mod_http.lua Tue Feb 18 16:03:13 2014 -0500 +++ b/plugins/mod_http.lua Thu Feb 20 19:08:55 2014 +0100 @@ -42,7 +42,7 @@ return (normalize_path(host_module:get_option("http_paths", {})[app_name] -- Host or module:get_option("http_paths", {})[app_name] -- Global or default_app_path)) -- Default - :gsub("%$(%w+)", { host = module.host }); + :gsub("%$(%w+)", { host = host_module.host }); end local ports_by_scheme = { http = 80, https = 443, };