From a3ce94f1de46697b2ee1aa8e60629a3d4e57805e Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Mon, 13 Jun 2022 13:14:40 +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 c13435e..caa408f 100644 --- a/config/app.ts +++ b/config/app.ts @@ -77,7 +77,7 @@ export const http: ServerConfig = { | headers. | */ - trustProxy: proxyAddr.compile('loopback'), + trustProxy: proxyAddr.compile(true), /* |--------------------------------------------------------------------------