Skip to content

Commit bd09c86

Browse files
committed
added loopback in trust proxy
1 parent 0ad0021 commit bd09c86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api-gateway/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { routes } from "./routes";
77

88
const app:Application = express();
99

10-
app.set('trust proxy', true);
10+
app.set('trust proxy', 'loopback');
1111

1212
app.use(morgan("dev"))
1313
app.use(express.json())

0 commit comments

Comments
 (0)