Attempting to fix logging with nginx

This commit is contained in:
Esther 2020-06-22 20:45:43 +01:00
parent 8ed1213eb2
commit 95179cd76d
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA

1
app.js
View File

@ -9,6 +9,7 @@ var indexRouter = require('./routes/index');
var aboutRouter = require('./routes/about'); var aboutRouter = require('./routes/about');
var app = express(); var app = express();
app.set('trust proxy', 'loopback,uniquelocal');
// view engine setup // view engine setup
app.set('views', path.join(__dirname, 'views')); app.set('views', path.join(__dirname, 'views'));