Remove custom ssl code and add TLS support in Ingress rules

This commit is contained in:
Manuel de Brito Fontes 2016-03-16 11:12:45 -03:00
parent 5feb452ce4
commit 6cb0e41737
11 changed files with 190 additions and 226 deletions

View file

@ -5,7 +5,10 @@ function openURL(status, page)
local res, err = httpc:request_uri(page, {
path = "/",
method = "GET"
method = "GET",
headers = {
["Content-Type"] = ngx.var.httpReturnType or "text/html",
}
})
if not res then