Updated nginx files

This commit is contained in:
2024-08-09 14:45:05 -04:00
parent 0a0f7d8ce5
commit 92df05540b
4 changed files with 3 additions and 10 deletions
-2
View File
@@ -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)