nestjs doesn't perceive headers

Viewed 13

i have a server with GraphQL and mutation which need headers to verify user
when i pushed my backend to remote i found out that it doesn't accept auth header (vk_params)
on local machine it works fine (first screen below) local

next screen from remote enter image description here

remote works on nestjs and nginx with proxy_pass without advanced options
the screen from my browser also enter image description here

temp solution is to use "Authorization" header. it works both on local and remote. maybe nginx filters unknown headers?

0 Answers
Related