mirror of
https://github.com/immich-app/immich.git
synced 2025-11-22 16:10:47 +09:00
fix(nginx): x-forwarded-* headers (#2019)
* fix(nginx): x-forwarded-* headers * change category / add link to nginx config
This commit is contained in:
@@ -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' }));
|
||||
|
||||
Reference in New Issue
Block a user