hello...I have checked ngx.var.host and it's not sending prefix of user request (http or https)!so I don't know how can I check http or https prefix?! .
You should be able to use the $scheme variable, e.g. ngx.var.schemeOn Jun 18, 2018, at 07:21, Hadi Abbasi <hadi.abbasi...@gmail.com> wrote:hello...I have checked ngx.var.host and it's not sending prefix of user request (http or https)!so I don't know how can I check http or https prefix?! .