Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

224
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda