mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: trusted proxies (#14888)
This commit is contained in:
parent
05cea0fc69
commit
139090715e
3 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ async function bootstrap() {
|
|||
|
||||
logger.setContext('Bootstrap');
|
||||
app.useLogger(logger);
|
||||
app.set('trust proxy', ['loopback', 'linklocal', 'uniquelocal', ...network.trustedProxies]);
|
||||
app.set('trust proxy', ['loopback', ...network.trustedProxies]);
|
||||
app.set('etag', 'strong');
|
||||
app.use(cookieParser());
|
||||
app.use(json({ limit: '10mb' }));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue