Get correct scheme for Nginx reverse proxy