fix(nginx): x-forwarded-* headers (#2019)

* fix(nginx): x-forwarded-* headers

* change category / add link to nginx config
This commit is contained in:
Michel Heusschen 2023-03-22 21:46:30 +01:00 committed by GitHub
parent 6da50626e1
commit 792a87e407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 9 deletions

View file

@ -19,7 +19,7 @@ async function bootstrap() {
logger: getLogLevels(),
});
app.set('trust proxy');
app.set('trust proxy', ['loopback', 'linklocal', 'uniquelocal']);
app.set('etag', 'strong');
app.use(cookieParser());
app.use(json({ limit: '10mb' }));