2

I'm try to understand nginx http and stream module, so far I learn that http module is for L7 operations and stream module is for L4 operations? Is that all or is much more here?

With Regards

Boris

Boris
  • 31
  • 4
  • Isn't it enough difference? – Alexey Ten Apr 20 '20 at 10:23
  • Hello Alex, Thank You for response. I'm confused because I found in nginx documentation how to re-encrypt to upstream server in stream module, and if I'm not wrong encryption and decryption should occurred in OSI L6. – Boris Apr 20 '20 at 10:34
  • Well, OSI is an ideal abstration, but in real world one have to deal with several levels. E.g. in http module you configure how sockets will behave, and that is L5 (or L4, definetely not L7). So I would say key difference that `http` is about HTTP (L7), while `stream` could handle any connection type. – Alexey Ten Apr 20 '20 at 10:44

0 Answers0