mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 13:44:54 +00:00
task: add trust proxy header
This commit is contained in:
@ -30,6 +30,8 @@ async function bootstrap() {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
app.getHttpAdapter().getInstance().set('trust proxy', 1);
|
||||||
|
|
||||||
app.use(
|
app.use(
|
||||||
helmet({
|
helmet({
|
||||||
contentSecurityPolicy: false,
|
contentSecurityPolicy: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user