mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(nginx): x-forwarded-* headers (#2019)
* fix(nginx): x-forwarded-* headers * change category / add link to nginx config
This commit is contained in:
parent
6da50626e1
commit
792a87e407
4 changed files with 39 additions and 9 deletions
|
|
@ -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' }));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue