Just check line 175 of your lib/app.js ``` res.redirect("/login"); ``` should be ``` res.redirect(res.locals.proxyPath+"/login"); ```