Use trust proxy setting
Co-authored-by: mrjvs <mistrjvs@gmail.com>
This commit is contained in:
parent
78b4dbd705
commit
9eb6244515
|
@ -17,6 +17,7 @@ export async function setupFastify(): Promise<FastifyInstance> {
|
|||
// create server
|
||||
const app = Fastify({
|
||||
logger: makeFastifyLogger(log) as any,
|
||||
trustProxy: conf.server.trustProxy,
|
||||
});
|
||||
let exportedApp: FastifyInstance | null = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue