Fix for some variables($_SERVER['HTTPS'], $_SERVER['SERVER_PORT'], $_SERVER['REQUEST_URI']) for Wordpress based site, which prevents 'Too many redirects' error. · Issue #545 · nginx/unit · GitHub
Tutorial for $_SERVER in Super Global Variables - scmGalaxy