Why is CORS not working in NestJS APP + NGINX?
Why do I get cors error and invalid headers when requesting from frontend http://localhost:3000? async function bootstrap() { const app = await NestFactory.create(AppModule, { cors: true }); useContainer(app.select(AppModule), { fallbackOnErrors: true }); const configService = app.get(ConfigService<AllConfigType>); app.enableShutdownHooks(); app.setGlobalPrefix( configService.getOrThrow('app.apiPrefix', {…