mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +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:
		| @@ -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