Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

225
Visualizações
nginx auth TCP socket not http request?

It is possible with nginx to auth a request via backend service such as

location /somewhere_restricted {
    auth_request /isallowed;
}
location = /isallowed {
    proxy_pass backend_auth
}

However the backend_auth is check at each http request. Is it possible to authorize a TCP socket? The socket will be authorized once and then all http requests made through it would be going through. Noting I am using http2

This is what is happening with websocket for instance, but I would need the same functionality for normal http requests, and I could not find anything related to this yet

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

There is no such thing as an authorized TCP socket. Authorization is part of the application protocol and a generic TCP socket has no specific application protocol. Also the location is specific to the HTTP protocol, i.e. generic TCP has no location.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda