diff options
Diffstat (limited to 'modules/host/egress.lua')
| -rw-r--r-- | modules/host/egress.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/host/egress.lua b/modules/host/egress.lua index 37411df..172805a 100644 --- a/modules/host/egress.lua +++ b/modules/host/egress.lua @@ -102,11 +102,11 @@ function _M.preread() who = who or "- - -" if p == "pass" then ngx.var.egress_upstream = sni:lower() .. ":443" - ngx.var.egress_log = "ALLOW " .. who .. " " .. sni:lower() + ngx.var.egress_log = "ALLOW " .. who .. " https://" .. sni:lower() elseif p then ngx.var.egress_upstream = "unix:" .. RUN .. "/decrypt-" .. guest.tap .. ".sock" else - ngx.var.egress_log = "DENY " .. who .. " " .. (sni ~= "" and sni or "-") + ngx.var.egress_log = "DENY " .. who .. " " .. (sni ~= "" and "https://" .. sni or "-") return ngx.exit(403) end end |
