Score:0

http request via https

ng flag
pMM

Here is a scenario - http request are sent from monitoring client to an address like https://something.com:9443 which on the other end is (though) handled by nginx configured only as http server. If the nginx is switched to https only it rejects the http requests.

Maybe it's trival but I'm not sure what's happenening there, more specifically, is sending http request via https address somehow encrypted or in this case (since on the other side is only http server) it's pure cosmetics?

jp flag
sending `https://` request to a http-only server will fail. sending `http://` request to a https-only server will fail.
pMM avatar
ng flag
pMM
ok, but it definately does not fail, moreover if you change the address to http it does not work since some internal security devices on the way want it to be https
pMM avatar
ng flag
pMM
maybe the root cause here is that aforementioned nginx is configured as forwarder only, the final destination is http server, taking into account what @AlexD said it looks like the https in the address does not matter, the traffic is still regular http, am I right?
MohammadReza moeini avatar
us flag
only on Nginx is not possible, your scenario is complex you need to try to check proxy over Nginx or iptables to convert some request to another
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.