Skip to content

Commit

Permalink
express trust proxy (nginx)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Jul 22, 2024
1 parent 901b712 commit 0759ab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/bootstrap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import http from "http";

export default async (config: Config) => {
const app = express();
app.set('trust proxy', 1);

await loaders(app);

Expand Down

0 comments on commit 0759ab3

Please sign in to comment.