Score:0

Custom route protection with Nginx reverse proxy

jp flag

I have a few docker containers running behind an nginx reverse proxy with mutual TLS. One of these containers would be something like the postgresql login UI.

I was hoping to have some middleware or http interceptor that when hitting mydomain.com/login, I could intercept the headers and verify things like the email on the cert, the subject, etc. before forwarding off to the original request to either terminate the request early or allow it to continue.

Traditionally, I could simply just have a proxy_pass point directly to the ip/port of postgres, but how would I want to satisfy this in this case?

djdomi avatar
za flag
i think u mixed a bit your point of question. Csn you please clean up the rest and ask more specific?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.