Skip to content

Commit

Permalink
trying...
Browse files Browse the repository at this point in the history
  • Loading branch information
sukanya-rath authored May 10, 2024
1 parent 237af06 commit 6e09019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const metricsMiddleware = promBundle({
promRegistry: register,
});
const app = express();
app.set('trust proxy', true);
app.set('trust proxy', 1);
const apiRouter = express.Router();

const JWTStrategy = passportJWT.Strategy;
Expand Down
1 change: 1 addition & 0 deletions frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
reverse_proxy /api/* {$BACKEND_URL}{
header_up X-Forwarded-Proto https
}
}
:3001 {
handle /health {
respond "OK"
Expand Down

0 comments on commit 6e09019

Please sign in to comment.