From 7ec72a53b60c7c15803d6f423fed559ea0118ee4 Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Mon, 13 Jun 2022 13:17:25 +0300 Subject: [PATCH] trust proxy --- config/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.ts b/config/app.ts index caa408f..c13435e 100644 --- a/config/app.ts +++ b/config/app.ts @@ -77,7 +77,7 @@ export const http: ServerConfig = { | headers. | */ - trustProxy: proxyAddr.compile(true), + trustProxy: proxyAddr.compile('loopback'), /* |--------------------------------------------------------------------------