Updated nginx files
This commit is contained in:
@@ -26,8 +26,6 @@ server {
|
||||
local scheme = ngx.var.scheme
|
||||
local res = targetInfo.get(ngx, host, ngx.ctx.targetInfo)
|
||||
|
||||
ngx.log(ngx.ERR, "!!!!!!!!! after getTargetInfo proxy.conf ", res["ip"])
|
||||
|
||||
if scheme == "http" then
|
||||
if res["forcessl"] == "true" then
|
||||
return ngx.redirect("https://"..host..uri, 301)
|
||||
|
||||
Reference in New Issue
Block a user