remove parameter trustProxy and using req.protocol instead X-Forwarded-Proto