trust proxy

This commit is contained in:
qwertyforce 2020-09-16 11:25:36 +03:00
parent 7319549adc
commit 9c4e34132d

View File

@ -138,7 +138,7 @@ next_app.prepare().then(() => {
app.all('*', (req, res) => {
return handle(req, res)
})
app.set('trust proxy','127.0.0.1')
app.listen(port,'localhost', (err) => {
if (err) throw err
console.log(`> Ready on ${config.domain}:${port}`)