diff --git a/src/modules/fastify/index.ts b/src/modules/fastify/index.ts index b4fa39d..c2e0943 100644 --- a/src/modules/fastify/index.ts +++ b/src/modules/fastify/index.ts @@ -17,6 +17,7 @@ export async function setupFastify(): Promise { // create server const app = Fastify({ logger: makeFastifyLogger(log) as any, + trustProxy: conf.server.trustProxy, }); let exportedApp: FastifyInstance | null = null;