mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 00:02:24 +00:00
Attempting to fix logging with nginx
This commit is contained in:
parent
8ed1213eb2
commit
95179cd76d
1
app.js
1
app.js
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user