Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

223
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!