ps, $scheme is usually mapped before in /etc/nginx.conf as

map $scheme $server_https {
    default off;
    https on;
}

Reply via email to