Skip to content

Commit ae764d5

Browse files
committed
Merge branch 'Kurounin-include-client-ip'
2 parents f342935 + c3e0589 commit ae764d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const jwt = require('jsonwebtoken');
88
var concat = require('concat-stream');
99

1010
app.set('json spaces', 2);
11+
app.set('trust proxy', ['loopback', 'linklocal', 'uniquelocal']);
1112

1213
app.use(morgan('combined'));
1314

0 commit comments

Comments
 (0)