Remove custom ssl code and add TLS support in Ingress rules
This commit is contained in:
parent
5feb452ce4
commit
6cb0e41737
11 changed files with 190 additions and 226 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue